Splunk Search

How to plot per_second with eval, will it be count or value?

Explorer

I'm trying to understand this query:

timechart per_second(eval(errorValue>0))

Does this plot the value of errorValue itself (greater than 0) per second, or the number of events with errorValue (greater than 0) per second?

0 Karma
1 Solution

SplunkTrust
SplunkTrust

It'll give you count of event, per second, where that eval expression is true, so it the later (from your question).

View solution in original post

SplunkTrust
SplunkTrust

It'll give you count of event, per second, where that eval expression is true, so it the later (from your question).

View solution in original post