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>

Labels (1)
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!

.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 ...

Introducing the 2024 SplunkTrust!

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