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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...