Merge pull request #55 from forana/filebeat-harvester

updated logstash config to remove deprecation warnings
This commit is contained in:
AlfonsoRBJ
2018-11-05 16:36:47 +01:00
committed by GitHub
+4 -3
View File
@@ -1,10 +1,11 @@
# Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2) # Wazuh App Copyright (C) 2018 Wazuh Inc. (License GPLv2)
filebeat: filebeat:
prospectors: inputs:
- input_type: log - type: log
paths: paths:
- "/var/ossec/data/logs/alerts/alerts.json" - "/var/ossec/data/logs/alerts/alerts.json"
document_type: wazuh-alerts fields:
document_type: wazuh-alerts
json.message_key: log json.message_key: log
json.keys_under_root: true json.keys_under_root: true
json.overwrite_keys: true json.overwrite_keys: true