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

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...