Update Filebeat configuration (#88)

This commit is contained in:
Jesús Linares
2019-01-03 15:37:48 +01:00
committed by GitHub
parent 70e491fa6f
commit 81035c39db
+3 -4
View File
@@ -1,11 +1,10 @@
# Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2)
filebeat:
inputs:
prospectors:
- type: log
paths:
- "/var/ossec/data/logs/alerts/alerts.json"
fields:
document_type: wazuh-alerts
- "/var/ossec/logs/alerts/alerts.json"
document_type: json
json.message_key: log
json.keys_under_root: true
json.overwrite_keys: true