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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...