Dashboards & Visualizations

How to create a search to display the results?

shashi584
Explorer

Hello,

My requirement is to display the results of related Service and KPI name if any of the below tile turns Yellow, red etc except Green (this we can verify using alert_level)

shashi584_0-1648058394800.png

 

Created below look up table #sresellerpricing

shashi584_2-1648058506248.png

 

Below is the query i'm using but not getting any results.

index=itsi_summary KPI IN ("ServiceHealthScore") alert_level>1 is_entity_in_maintenance=0
serviceid IN
("e46d2d3b-7b5a-40d4-aebf-54aa0b394e25",
"23ff8e98-59d0-48d6-a8d2-8a1385d26bd8",
"372848b0-380a-4fca-a78c-816747e00cf3")
| eval service_kpi_id=serviceid."-".kpiid
| search NOT service_kpi_id IN (
[ search index=itsi_summary KPI IN ("ServiceHealthScore") alert_level>1 is_entity_in_maintenance=0
serviceid IN
("e46d2d3b-7b5a-40d4-aebf-54aa0b394e25",
"23ff8e98-59d0-48d6-a8d2-8a1385d26bd8",
"372848b0-380a-4fca-a78c-816747e00cf3")
| eval service_kpi_id=serviceid."-".kpiid
| dedup service_kpi_id | return $service_kpi_id ]
)
| lookup sresellerpricing key AS kpiid OUTPUT Service
| dedup kpi Service
| table Service kpi

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...