Splunk Search

Duration Timer


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


or should I use python for example to achieve this?

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

March Community Office Hours Security Series Uncovered!

Hello Splunk Community! In March, Splunk Community Office Hours spotlighted our fabulous Splunk Threat ...

Stay Connected: Your Guide to April Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars in April. This post ...