Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fluentd-client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
fluentd-client
Commits
3c9a6509
Commit
3c9a6509
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#92 Add support for beats
parent
a0bdd6b6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/fluentd-client.yml
+1
-0
1 addition, 0 deletions
tasks/fluentd-client.yml
templates/td-agent.conf
+26
-0
26 additions, 0 deletions
templates/td-agent.conf
with
27 additions
and
0 deletions
tasks/fluentd-client.yml
+
1
−
0
View file @
3c9a6509
...
...
@@ -42,6 +42,7 @@
-
fluent-plugin-multi-format-parser
-
fluent-plugin-record-modifier
-
fluent-plugin-mail
-
fluent-plugin-beats
-
name
:
Ensure SSL Directory
file
:
...
...
This diff is collapsed.
Click to expand it.
templates/td-agent.conf
+
26
−
0
View file @
3c9a6509
...
...
@@ -2,6 +2,11 @@
@
type
forward
port
24224
</
source
>
<
source
>
@
type
beats
metadata_as_tag
</
source
>
{%
if
'proxyserver'
in
groups
and
inventory_hostname
in
groups
.
proxyserver
%}
<
source
>
...
...
@@ -332,6 +337,27 @@
request_timeout
15
s
</
match
>
<
match
*
beat
>
@
type
elasticsearch_dynamic
logstash_format
true
logstash_prefix
${
tag_parts
[
0
]}
type_name
${
record
[
'type'
]}
host
127
.
0
.
0
.
1
port
9200
user
elastic
password
{{
elasticsearch
.
users
.
elastic
|
default
(
""
) }}
include_tag_key
true
tag_key
@
log_name
reconnect_on_error
true
<
buffer
>
@
type
file
path
/
var
/
log
/
td
-
agent
/
buffer
/
beats
.*.
buffer
flush_at_shutdown
true
flush_thread_count
8
</
buffer
>
request_timeout
15
s
</
match
>
<
match
**>
@
type
elasticsearch
logstash_format
true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment