20 lines
361 B
YAML
20 lines
361 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
|