I am getting following error when streaming the system sar log file
2016-03-01T00:24:08Z INFO Read line error: file inactive
2016-03-01T23:53:02Z INFO Harvester started for file: /var/log/sa/sar01
2016-03-02T00:23:07Z INFO Read line error: file inactive
The SAR files get overwritten after 30 days, so SAR01 get overwritten on Feb01, March01
Our config file has
Is the 'active' SAR file being shipped ok by filebeat?
If so, why ship file again after being rotated?
You want to index historical data only, or will this be a general problem in production after historical data have been indexed?
How does logrotation work? Sounds like files are just renamed. filebeat detects file has been moved (but still same file) and will not attempt to resend the file.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.