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
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

somesoni2
SplunkTrust
SplunkTrust

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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...