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: ...@@ -27,6 +27,7 @@ filebeat.inputs:
27 - /var/log/*.log 27 - /var/log/*.log
28 #- c:\programdata\elasticsearch\logs\* 28 #- c:\programdata\elasticsearch\logs\*
29 29
30
30 # Exclude lines. A list of regular expressions to match. It drops the lines that are 31 # Exclude lines. A list of regular expressions to match. It drops the lines that are
31 # matching any regular expression from the list. 32 # matching any regular expression from the list.
32 #exclude_lines: ['^DBG'] 33 #exclude_lines: ['^DBG']
...@@ -61,6 +62,23 @@ filebeat.inputs: ...@@ -61,6 +62,23 @@ filebeat.inputs:
61 # Note: After is the equivalent to previous and before is the equivalent to to next in Logstash 62 # Note: After is the equivalent to previous and before is the equivalent to to next in Logstash
62 #multiline.match: after 63 #multiline.match: after
63 64
65 - type: log
66
67 # Change to true to enable this input configuration.
68 enabled: true
69
70 # Paths that should be crawled and fetched. Glob based paths.
71 paths:
72 - /opt/jboss-eap-7.2/domain/servers/*/log/*.log
73 - /opt/jboss-eap-7.2/domain/servers/*/log/*/*.log
74
75 # Optional additional fields. These fields can be freely picked
76 # to add additional information to the crawled log files for filtering
77 #fields:
78 # level: debug
79 # review: 1
80 fields:
81 event.dataset: jbossprod
64 82
65 #============================= Filebeat modules =============================== 83 #============================= Filebeat modules ===============================
66 84
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!