Hello,
I want to config logstash to push in 2 index 1 day.
If date time in logs between 00:00 to 11:59, I want to push it in index logstash-%YYYY.MM.dd-1.
If date time in logs between 12:00 to 23:59, I want to push it in index logstash-%YYYY.MM.dd-2.
I did it well.
Logs example:
> Aug 10 10:41:15 server001 haproxy[1889]: 107.113.167.5:32075
> Aug 10 15:41:15 server001 haproxy[1889]: 107.113.167.5:32075
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.