Dashboards & Visualizations

No results found. Inspect ...

abhayneilam
Contributor

Hi,

I have a dropdown with the list of countries like IN, UK, KR,JP etc which is in COUNTRY field . Now , I have multiple dashboard panels for one of the panels data does not appear for IN COUNTRY and it is showing "No results found. Inspect .... But my requirement is instead of showing this message it should show "No data is there for IN Country".
Which every the Country I will select, if it does not find any data then it should throw a message like "No data is there for JP Country" ( If there is not data for JP Country )

Please help !!

Tags (3)
0 Karma

neelamssantosh
Contributor

In the xml source code it should be
Mentioned as

No data is there for $value$
Where value is IN country.

Hope it can help you.

0 Karma

abhayneilam
Contributor

Where it should be mentioned , please give me the code snippet

0 Karma

neelamssantosh
Contributor

on the top left side(of screen) in the dashboard panel.

0 Karma

MuS
Legend

Hi abhayneilam,

take a look at this answer http://answers.splunk.com/answers/176466/how-to-use-eval-if-there-is-no-result-from-the-bas-1.html to get an idea how to achieve this.

cheers, MuS

abhayneilam
Contributor

Hi MuS,

thanks for the prompt reply but this example is totally different from mine. my question is entirely different.

0 Karma

MuS
Legend

Sure your question is different, but in the end it is the same: you want to display something if nothing was found in your base search, instead of the 'no results found ...' Message

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...