Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Javier Franco
/
elk_installation
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
32836e49
authored
2022-11-17 17:14:17 -0300
by
Gustavo Calcaterra
Committed by
DevOps
2022-11-17 17:14:17 -0300
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update filebeat config to send JBoss EAP logs and apps logs
1 parent
543bb3c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
roles/beat/templates/filebeat.yml.j2
roles/beat/templates/filebeat.yml.j2
View file @
32836e4
...
...
@@ -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 ===============================
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment