Splunk Search

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

davidch12
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

somesoni2
Revered Legend

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

somesoni2
Revered Legend

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

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...