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

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

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!

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