32836e49 by Gustavo Calcaterra Committed by DevOps

Update filebeat config to send JBoss EAP logs and apps logs

1 parent 543bb3c9
......@@ -27,6 +27,7 @@ filebeat.inputs:
- /var/log/*.log
#- c:\programdata\elasticsearch\logs\*
# Exclude lines. A list of regular expressions to match. It drops the lines that are
# matching any regular expression from the list.
#exclude_lines: ['^DBG']
......@@ -61,6 +62,23 @@ filebeat.inputs:
# Note: After is the equivalent to previous and before is the equivalent to to next in Logstash
#multiline.match: after
- type: log
# Change to true to enable this input configuration.
enabled: true
# Paths that should be crawled and fetched. Glob based paths.
paths:
- /opt/jboss-eap-7.2/domain/servers/*/log/*.log
- /opt/jboss-eap-7.2/domain/servers/*/log/*/*.log
# Optional additional fields. These fields can be freely picked
# to add additional information to the crawled log files for filtering
#fields:
# level: debug
# review: 1
fields:
event.dataset: jbossprod
#============================= Filebeat modules ===============================
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!