Splunk Search

Duration Timer

mdmaala
Communicator

hi!I have a prototype here that has three switches for each light, Green, Yellow and Red Light respective. Each time the light is turned on, the log records the value "1" when the switch it turned on and "0" when the switch is turned off.

with this, I want to display in my dashboard for example, once I toggle the switch for green light then the timer will start then when I turn it off the timer will reset and go back to zero.

is there a way I can do this in splunk?

thank you so much!

0 Karma

mdmaala
Communicator

or should I use python for example to achieve this?

0 Karma
Get Updates on the Splunk Community!

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...

From Alert to Resolution: How Splunk Observability Helps SREs Navigate Critical ...

It's 3:17 AM, and your phone buzzes with an urgent alert. Wire transfer processing times have spiked, and ...