put worker log to ELK

This commit is contained in:
aynsix
2020-04-24 20:27:11 +03:00
parent fa25b39da8
commit 30fa50f48d
4 changed files with 71 additions and 0 deletions

9
config/filebeat.yml Normal file
View File

@@ -0,0 +1,9 @@
filebeat:
inputs:
- type: log
enabled: true
paths:
- /var/alchemy/Phraseanet/logs/task_*.log
- /var/alchemy/Phraseanet/logs/worker_service*.log
output.logstash:
hosts: ["logstash:5044"]