I need to route messages which have @timestamp field that differs more than 8 hours from now to a separate topic.
I tried to use ingest pipeline with some processors for that. But the only one which comes to my mind is a script processor.
Have anyone used a script processor for such modification/routing?
I would use a combination of two set processors. One that sets the value of a field to the current time, and one that conditionally sets the index if the time difference between the two timestamps is more than 8 hours:
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.