Hi,
I want to assign one unique id to all event/messages processed by logstash pipeline with in one hour.
how can i do that? is there any timer which i can use to check that one hour has passes and now need to change the uuid.
Thanks,
Gopal
Hi,
I want to assign one unique id to all event/messages processed by logstash pipeline with in one hour.
how can i do that? is there any timer which i can use to check that one hour has passes and now need to change the uuid.
Thanks,
Gopal
Use a ruby filter to strftime Time.now to a date and hour, then either use that as the id or pass it through a fingerprint filter.
Thanks that worked.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.