Created
January 28, 2016 14:00
-
-
Save ddikman/118a7481d3a4df13e941 to your computer and use it in GitHub Desktop.
Example of a filebeat config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filebeat: | |
prospectors: | |
- | |
paths: | |
# - C:\Users\David\AppData\Local\Temp\UMS-logs\um-log*.log | |
- /var/log/um-log-*.log | |
encoding: plain | |
input_type: log | |
force_close_files: false | |
registry_file: "C:/ProgramData/filebeat/registry" | |
############################# Output ########################################## | |
output: | |
logstash: | |
hosts: ["ourlogstashhostname.co.uk:9300"] | |
############################# Logging ######################################### | |
logging: | |
to_files: true | |
files: | |
path: /var/log | |
name: filebeat | |
rotateeverybytes: 10485760 # = 10MB | |
keepfiles: 2 | |
level: debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment