swarm
This commit is contained in:
16
docker-swarm/log/filebeat.yml
Normal file
16
docker-swarm/log/filebeat.yml
Normal file
@ -0,0 +1,16 @@
|
||||
filebeat.inputs:
|
||||
- type: filestream
|
||||
id: new-sino-log
|
||||
paths:
|
||||
- "/logs/*/*.log"
|
||||
parsers:
|
||||
- multiline:
|
||||
type: pattern
|
||||
pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}'
|
||||
negate: true
|
||||
match: after
|
||||
|
||||
setup.kibana.host: "${KIBANA_HOSTS:kibana:5601}"
|
||||
|
||||
output.logstash:
|
||||
hosts: '${LOGSTASH_URL:logstash:5044}'
|
Reference in New Issue
Block a user