Files
sa-charts/docker-swarm/log/filebeat.yml
marsal wang 1e5a703cce swarm
2023-07-26 10:07:34 +08:00

16 lines
327 B
YAML

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}'