Dashboards & Visualizations

Calling a report from a drop down menu

davidharter
New Member

I have an app where the default dashboard has a search bar where I can select from a number of scenarios for which I can display data.  One of those scenarios is a drop down titled "Locking".  Underneath this I am presented with a list of database environments.  I need to be able to display reports that I've written from from each of the selections under Locking.  Can someone explain to me how that might be done? 

Here is what the XML for the navigation looks like.  Where is says "locktroubleshooter_prod" and "locktroubleshooter_uit", I want to call a report.  Currently, these are views that use Advanced XML an we have upgraded to 8.0.3, and the views no longer work because Advanced XML was deprecated.

<nav>
   <collection label="Search">
      <view name="DB_Search" />
   </collection>
   <collection label="Dashboard">
      <view name="default_dash" default="true" />
   </collection>
   <collection label="CPU">
      <view name="cpu" />
   </collection>
   <collection label="Memory">
      <view name="memory_instance" />
      <view name="memory_set_info" />
      <view name="memory_pool_info_by_set_type" />
      <view name="memory_pool_info_by_pool_type" />
   </collection>
   <collection label="IO">
      <view name="io_sync" />
      <view name="io_async_data" />
      <view name="io_async_index" />
      <view name="io_direct" />
   </collection>
   <collection label="Network">
      <view name="network_bandwidth" />
   </collection>
   <collection label="Locking">
      <view name="locktroubleshooter_prod" />
      <view name="locktroubleshooter_uit" />
   </collection>
   <collection label="Queries">
      <collection label="Overview">
         <view name="queries_overview" />
         </collection>
            <collection label="Top SQL">
            <view name="queries_topsql" />
         </collection>
      </collection>
      <collection label="Database Size">
         <view name="dbsize" />
         <view name="dbgrowth" />
         <view name="tablesize" />
         <view name="tablegrowth" />
      </collection>
      <collection label="Views">
         <view name="helloworldview" />
         <collection label="Others">
            <view source="unclassified" />
         </collection>
   </collection>
</nav>

Tags (1)
0 Karma

niketn
Legend

@davidharter take a backup of existing Advanced XML dashboard like memory_pool_info_by_set_type and create a new Dashboard with the same name i.e. "Memory Pool Info by Set Type" and create a panel with the reference to existing report 

Following is an Example of new memory_pool_info_by_set_type.xml ,

<dashboard>
  <label>Memory Pool Info by Set Type</label>
  <row>
    <panel>
      <title>Panel From Report</title>
      <table>
        <search ref="Your Corresponding Memory Pool Report Name Goes Here"></search>
        <option name="drilldown">none</option>
      </table>
    </panel>
  </row>
</dashboard>
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Splunk App for Anomaly Detection End of Life Announcment

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...