Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@lucasjhall
Created January 24, 2018 15:25
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 lucasjhall/37792ab98b96c46d416975b87a176fd6 to your computer and use it in GitHub Desktop.
Save lucasjhall/37792ab98b96c46d416975b87a176fd6 to your computer and use it in GitHub Desktop.
filebeat.prospectors:
- input_type: log
paths:
- /var/log/{example}.log
output.logstash:
hosts: ["{IP}}:5520"]
logging.level: info
logging.to_files: true
logging.to_syslog: false
logging.files:
path: /var/log/Filebeat/
name: filebeat.log
keepfiles: 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment