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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...