Skip to content

Instantly share code, notes, and snippets.

@johnkeates
Created April 10, 2016 17:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnkeates/d9d17707528f76659fe716c6337ab3f4 to your computer and use it in GitHub Desktop.
Save johnkeates/d9d17707528f76659fe716c6337ab3f4 to your computer and use it in GitHub Desktop.
filebeat:
output:
elasticsearch:
hosts: ["127.0.0.1:9200"]
logstash:
hosts: ["127.0.0.1:5044"]
prospectors:
-
input_type: log
paths:
- /var/log/daemon.log
-
input_type: log
paths:
- /var/log/system.log
@monicasarbu
Copy link

Filebeat cannot find any output defined as it searches for one in the output section, outside the filebeat section. Here is an example of the complete configuration file: https://github.com/elastic/beats/blob/master/filebeat/filebeat.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment