Dashboards & Visualizations

How do I visually(!) remove a row/panel

Bleepie
Communicator

Hi,

I have a dashboard with 91 panels in different rows. The first panel is a panel created for the sole purpose of doing a base search. The search is simple:

index=myIndex


The other 90 panels all do subsearches on this main search. This is to prevent CPU spikes. The problem that I'm facing right now is that the first panel is showing in the dashboard but it serves no purpose being showed.

My question:

How do I hide (not remove) this panel visually?

 

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Create your search as a base search without a panel

<form version="1.1">
  <label>Base search</label>
  <search id="base">
    <query> your search goes here </query>
    <done>
      <set token="sid">$job.sid$</set>
    <done>
    <earliest>-24h@h</earliest>
    <latest>now</latest>
    <sampleRatio>1</sampleRatio>
  </search>
  <panel>
    <table>
      <search>
         <query>| loadjob $sid$

PickleRick
SplunkTrust
SplunkTrust

Well, you can hide a panel (if not any other way, you can just use css to make it invisible; I assume we're talking about simpleXML, not Dashboard Studio). But if your base search just returns a huge load of events, you might run into performance issues anyway.

The idea of base searches is that you use them to get data which is already relatively well aggregated and use the posprocessing searches to aggregate it further. For example you do

| stats count by field1 field2

as your base search and then you can do two separate postprocessing searches summarizing data separately over either of those fields. But the base search gives you already relatively well-trimmed data. You can get away with returning a small set of events from the base search but it can escalate quickly...

0 Karma
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...