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
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!