updated logstash config to remove deprecation warnings

This commit is contained in:
forana
2018-10-02 06:49:19 -05:00
parent 80184b5c49
commit 373e6ee493

View File

@@ -1,9 +1,10 @@
# 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"
fields:
document_type: wazuh-alerts document_type: wazuh-alerts
json.message_key: log json.message_key: log
json.keys_under_root: true json.keys_under_root: true