Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Commit

Permalink
#15 basic filebeat config
Browse files Browse the repository at this point in the history
  • Loading branch information
donsizemore committed Mar 24, 2016
1 parent ac5a47e commit f9f37b6
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion ansible/roles/support-filebeat/templates/filebeat.yml.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## {{ ansible_managed }}
---
{{filebeat_config | to_nice_yaml }}

filebeat:
prospectors:
-
paths:
- /var/log/*.log
- /var/log/messages
- /var/log/secure
- /var/log/de/*.log
input_type: log
registry_file: /var/lib/filebeat/registry

output:
logstash:
hosts: ["{{elk_host}}:{{elk.logstash.port}}"]

shipper:

logging:
files:

0 comments on commit f9f37b6

Please sign in to comment.