19 lines
332 B
YAML
19 lines
332 B
YAML
|
---
|
||
|
- hosts: localhost
|
||
|
connection: local
|
||
|
vars:
|
||
|
logstash_plugins:
|
||
|
- name: logstash-output-influxdb
|
||
|
logstash_inputs:
|
||
|
file:
|
||
|
path: /var/log/syslog
|
||
|
logstash_outputs:
|
||
|
- >
|
||
|
file {
|
||
|
path => "/var/log/syslog"
|
||
|
codec => "json"
|
||
|
}
|
||
|
|
||
|
roles:
|
||
|
- ansible-role-logstash
|