Dashboards & Visualizations

Remove empty panels after a search

smolcj
Builder

Hi,
How can I remove my empty panel from a search without showing nothing to inspect or without any messages.. i just want to skip the entire panel if there isn't any result for the same..
How can I do that?
Here is the screen shot of the scenario..here is the image

please help
Thank you

Tags (3)
0 Karma
1 Solution

jonuwz
Influencer

answered here

Edit

based on your comment, answer here

Or simple add

p.empty_results {
    display: none;
}

to application.css or the stylesheet of the dashboard.

View solution in original post

jonuwz
Influencer

answered here

Edit

based on your comment, answer here

Or simple add

p.empty_results {
    display: none;
}

to application.css or the stylesheet of the dashboard.

jonuwz
Influencer

You asked : "i just want to skip the entire panel if there isn't any result for the same"

0 Karma

smolcj
Builder

thanks jonuwz,, but can i remove just the message.. not the entire dashboardcell..
just i want to know whether it is possible... so in closest instead of dashboardcell, what should i include to represent message...
here .closest('.dashboardCell').

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...