mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-08-14 20:42:53 +02:00
「🏗️」 wip: logstash workinnnggg
This commit is contained in:
27
docker/ELK/logstash/pipeline/logstash.conf
Normal file
27
docker/ELK/logstash/pipeline/logstash.conf
Normal file
@ -0,0 +1,27 @@
|
||||
input {
|
||||
file {
|
||||
path => "/var/log/user-api/log.log"
|
||||
start_position => "beginning"
|
||||
tags => [ "api", "user" ]
|
||||
}
|
||||
file {
|
||||
path => "/var/log/auth-api/log.log"
|
||||
start_position => "beginning"
|
||||
tags => [ "api", "auth" ]
|
||||
}
|
||||
file {
|
||||
path => "/var/log/nginx/log.log"
|
||||
start_position => "beginning"
|
||||
tags => [ "nginx", "front" ]
|
||||
}
|
||||
file {
|
||||
path => "/var/log/nginx/err.log"
|
||||
start_position => "beginning"
|
||||
tags => [ "nginx", "front", "error" ]
|
||||
}
|
||||
}
|
||||
|
||||
output {
|
||||
elasticsearch { hosts => ["transcendence-elasticsearch:9200"] }
|
||||
stdout { codec => rubydebug }
|
||||
}
|
Reference in New Issue
Block a user