In my current project I am using filebeat to load csv files to Elasticsearch but filebeat is not writing the log files in to the destination folder instead it is writing /var/log/messages file. Could you please advise why it is happening like this.
Below is the configuration of filebeat.yml.
Happy to help!
You can change the logging.files.rotateeverybytes parameter, the default is to create a new file at 10485760 (10 MB). So you can increase this if you want to keep a bigger file before switching.
See reference to all the parameters here:
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.