Dashboards & Visualizations

how to make an empty line chart if no result is found?

logloganathan
Motivator

How to make an empty line chart if no result is present in the dashboard?

It's simply displaying no result.

1 Solution

niketn
Legend

@logloganathan, get the Splunk Dashboard Examples app which has Null Results Setter example to show custom message in case of No results. There are many more examples for you to learn and pick up for day to day scenarios.

Also refer to one of my recent answers to have empty timechart rather than showing No Results Found: https://answers.splunk.com/answers/595248/timechart-with-no-data-gives-no-results-found.html

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

niketn
Legend

@logloganathan, get the Splunk Dashboard Examples app which has Null Results Setter example to show custom message in case of No results. There are many more examples for you to learn and pick up for day to day scenarios.

Also refer to one of my recent answers to have empty timechart rather than showing No Results Found: https://answers.splunk.com/answers/595248/timechart-with-no-data-gives-no-results-found.html

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

damiensurat
Contributor

It would help if you shared the context of your search. Lacking that, here's a tidbit of info to go on which may help point you in the right direction:

https://answers.splunk.com/answers/565395/how-to-return-0-when-the-search-has-no-results-in-1.html

0 Karma

logloganathan
Motivator

i am using stats command only but when no event present it return "no result"

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...

Index This | Divide 100 by half. What do you get?

November 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

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

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...