Reporting

How do you export a Scheduled PDF Delivery email so it does NOT export hidden dashboard panels ?

ke3a
New Member

Hi, Splunk community,

I have created a dashboard that hides/show panels based on the number of results (shows only if results > 0). The dashboard is working correctly, but when I perform an export to "schedule pdf delivery", it shows all hidden panels - which is not what I want.

I want the export to also hide the panels based on the number of results. If I just export PDF without scheduling it, the hidden panels do not appear in my PDF, which is exactly what I need.

Any help is greatly appreciated.

0 Karma

ke3a
New Member
<dashboard>
<label>Test</label>
<row>
 <panel depends="$panel_show$">
   <table>
     <title>Document Generation  - Production Job failed (24 hrs)</title>
     <search>
       <progress>
         <condition match="'job.resultCount' > 0">
           <set token="panel_show">true</set>
         </condition>
         <condition>
           <unset token="panel_show"></unset>
         </condition>
       </progress>
       <query>index=ecm host=wprdeo* source="e:\\pitney_bowes\\*"</query>
       <earliest>-24h@h</earliest>
       <latest>now</latest>
     </search>
     <option name="count">10</option>
     <option name="dataOverlayMode">none</option>
     <option name="drilldown">none</option>
     <option name="refresh.display">none</option>
     <option name="rowNumbers">false</option>
     <option name="totalsRow">false</option>
     <option name="wrap">true</option>
   </table>
 </panel>
 <panel depends="$panel_show2$">
   <table>
     <title>NegativeArraySizeException (24 hrs)</title>
     <search>
       <progress>
         <condition match="'job.resultCount' > 0">
           <set token="panel_show2">true</set>
         </condition>
         <condition>
           <unset token="panel_show2"></unset>
         </condition>
       </progress>
       <query>index=ecm host=wprdeo* source="e:\\pitney_bowes\\*"</query>
       <earliest>-24h@h</earliest>
       <latest>now</latest>
       <sampleRatio>1</sampleRatio>
     </search>
     <option name="count">10</option>
     <option name="dataOverlayMode">none</option>
     <option name="drilldown">none</option>
     <option name="percentagesRow">false</option>
     <option name="refresh.display">none</option>
     <option name="rowNumbers">false</option>
     <option name="totalsRow">false</option>
     <option name="wrap">true</option>
   </table>
 </panel>
</row>
</dashboard>
0 Karma

ke3a
New Member

Hi,

Just curious if anyone has any ideas on how to approach this problem?

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...