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
e6943925
authored
2022-11-17 18:00:44 -0300
by
Gustavo Calcaterra
Committed by
DevOps
2022-11-17 18:00:44 -0300
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Configure fields for logs by environment
1 parent
32836e49
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletions
beats.yml
roles/beat/templates/filebeat.yml.j2
vars/prod.yml
vars/test.yml
beats.yml
View file @
e694392
...
...
@@ -7,6 +7,8 @@
-
name
:
Install beats
include_role
:
name
:
beat
vars_files
:
-
"
vars/{{
env
}}.yml"
vars
:
-
beat_name
:
"
{{
item.beat_name
}}"
-
rpm_name
:
"
{{
item.rpm_name
}}"
...
...
roles/beat/templates/filebeat.yml.j2
View file @
e694392
...
...
@@ -78,7 +78,7 @@ filebeat.inputs:
# level: debug
# review: 1
fields:
event.dataset:
jbossprod
event.dataset:
{{ filebeat_fields.event_dataset }}
#============================= Filebeat modules ===============================
...
...
vars/prod.yml
0 → 100644
View file @
e694392
---
filebeat_fields
:
event_dataset
:
jbossprod
vars/test.yml
0 → 100644
View file @
e694392
---
filebeat_fields
:
event_dataset
:
jbosstest
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