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
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...