Splunk Search

Evaluate the results of Chart over By

hbpatel142
Engager

Below Query Provides the Result.
counter="% Processor Time" | chart avg(Value) over host by counter | search "% Processor Time")>10

But Below Search Query doesnt work
counter="% Processor Time" | chart avg(Value) over host by counter | eval SLA_Status=if("% Processor Time">10,"Yes","No")

Any way to tackle this

Tags (4)
1 Solution

somesoni2
Revered Legend

Try this

counter="% Processor Time" | chart avg(Value) over host by counter | eval SLA_Status=if('% Processor Time'>10,"Yes","No")

View solution in original post

somesoni2
Revered Legend

Try this

counter="% Processor Time" | chart avg(Value) over host by counter | eval SLA_Status=if('% Processor Time'>10,"Yes","No")
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!

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