This repository has been archived by the owner on Jul 16, 2020. It is now read-only.
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.
Paths variable does not get correctly set #2
Open
Description
Hello,
I am running this playbook but the paths variable for the prospector isn't set correctly:
- name: Deploy Filebeat and send logs to Graylog server
hosts: myserver
vars:
- filebeat_logstash_server: 'myserver'
- filebeat_logstash_server_port: 5044
- filebeat_logstash_tls_insecure: true
- filebeat_logstash_tls: true
- filebeat_prospectors:
- { paths: "/var/log/*/*.log", input_type: log, document_type: log}
roles:
- mediapeers.filebeat
On the machine it gets deployed to the filebeat.yml file is created like that:
prospectors:
# Each - is a prospector. Below are the prospector specific configurations
-
document_type: log
input_type: log
paths - /var/log/*/*.log
instead of
prospectors:
# Each - is a prospector. Below are the prospector specific configurations
-
document_type: log
input_type: log
paths
- /var/log/*/*.log
Metadata
Assignees
Labels
No labels
Activity