I am running a logstash pipeline to read logs from all files in a directory. I want my logstash conf file to run every 30 minutes in a day. Is there any command which I have to write in the conf file. Below is the snippet from the logstash conf file. Am using schedule to test it every 2 seconds (later will change it to 30 mins) but it seems schedule is not working.
Only some inputs have a schedule option and the file input is not one of them. Besides, you've placed the option outside the file input, i.e. in the input block itself.
I suggest you keep Logstash running and have it continuously monitor the files you're interested in.
I am trying to input my log files through file beat to logstash and then run this logstash in every 30 mins(or any particular time interval) . Is there any particular config changes I need to do in either logstash / filebeat?
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.