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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...