Hello
I have a setup where i send only one log file like /abc/example.log to logstash instance like below:
filebeat.prospectors:
- paths:
- /abc/example.log
fields:
app_suite: cba
application: abc
- /abc/example.log
name: "xyz"
output.logstash:
template.name: "filebeat"
template.path: "filebeat.template.json"
hosts: ["ip:5044"]
======================
In the same directory abc, i also have rolled logs from example.log compressed into the zip files to manage the storage. So the zipped files will contain old logs and fresh logs will be in example.log file.
I would like to know:
If I can also ship these zipped files to logstash along with example.log file as I want old data also to be visible in elk and if it is possible, how do i do it. OR should I retain all the logs in example.log file with no rolling of logs to zipped folder?
Thanks