filebeat.prospectors:
-
input_type: log
Paths that should be crawled and fetched. Glob based paths.
paths:
- /tmp/testlog.txt
exclude_files: [".gz$"]
ignore_older: 2h
harvester:
close_inactive: 5m
close_renamed: false
close_removed: true
close_eof: falsestate:
clean_inactive: 0
clean_removed: true
close_timeout: 0 - /tmp/testlog.txt