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
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.