Hi all,
I have a Splunk dashboard in which I have to divide my total by seconds (Please refer below 3600). Instead of hard coding, I have to do a divide by difference between start time and now .
| eval TPS=Round((Total/**3600**),2)
I.e., if I select and search for time range between 03/05/2019 04:00:00 AM to 03/05/2019 06:00:00 AM , it should return a value which i can substitute using a variable in the below eval function.
| eval TPS=Round((Total/**some_variable**),2)
Any help is much appreciated .!!!!
thanks in advance.
... View more