Getting new uuid every hour in logstash pipeline

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.