Skip to main content
Solved

Cribl Stream: Replay historical logs from SIEM and filter by timestamp

  • Nov 4, 2026 11:53 AM UTC
  • 2 replies
  • 4 views

This message originated from Cribl Community Slack.
Click here to view the original link.

Good Day- We need to replay historical logs from our SIEM into Cribl and tag them with a date, then configure Cribl not to forward any data to SIEM if the timestamp is older than a specific period. Is that doable? How?

Best answer by dbizon539

This is the easiest way I can think of but others can definitely chime in with a better idea: 1. Replay the Data 2. In a pipeline, configure the field / value you want to add to the data with the Eval function 3. In a pipeline, set a Drop function to check if the date is older than a specific date so it drops all the data you do not want, and in the route set it to final.
View original

2 replies

  • Employee
  • Answer
  • Nov 4, 2026 11:53 AM UTC
This is the easiest way I can think of but others can definitely chime in with a better idea: 1. Replay the Data 2. In a pipeline, configure the field / value you want to add to the data with the Eval function 3. In a pipeline, set a Drop function to check if the date is older than a specific date so it drops all the data you do not want, and in the route set it to final.

the check could look something like _time < (Date.now() / 1000) - 604800