Splunk Search

Tracking state changes

redgoat
Engager

I'm trying to track state changes but having a difficult time. Ideally I'd like to know when a state changes from 0 to either 1, 2 or 3 and then back to 0, capturing the event's date/time that the value changed initially from 0 until it goes back to 0 in a dashboard panel. Is that possible?

Labels (1)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

you could try https://docs.splunk.com/Documentation/Splunk/8.1.3/SearchReference/Streamstats with reset_on_change attribute.

r. Ismo

0 Karma

redgoat
Engager

Thank you, that works!

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...