Skip to main content
Solved

Cribl Cloud Preprocessing Pipeline Unable To Access State Management Variable: __state.latestLoginTime

  • March 19, 2026
  • 4 replies
  • 2 views

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

I am using Cribl Cloud and have configured a REST Collector that stores a value named 'latestLoginTime' in state management. Should I be able to access that in a preprocessing pipeline using the following syntax? It doesn't appear to be present. __state.latestLoginTime

Best answer by atchuth_vasanthavada782

@user, I had similar requirement to filter the logs based on the latestTime in the REST API collector. What worked for me was, I have used __time > ${__collectible.state.latestLoginTime}_ in the filter of the full run mode. I haven't tried accessing in the pipeline specifically, but I just did a check for this field and it is available to the pipeline.

4 replies

Jon Rust
Forum|alt.badge.img
  • Employee
  • March 19, 2026
You might be able to create a field in the Fields area of the RC config and reference that state value. In a pipeline, no.

Jon Rust
Forum|alt.badge.img
  • Employee
  • March 19, 2026
i haven't tried using fields to ref. Can check in a bit

@user, I had similar requirement to filter the logs based on the latestTime in the REST API collector. What worked for me was, I have used __time > ${__collectible.state.latestLoginTime}_ in the filter of the full run mode. I haven't tried accessing in the pipeline specifically, but I just did a check for this field and it is available to the pipeline.

  • Author
  • Known Participant
  • March 19, 2026
Thanks! I will take a look at that.