Dashboards & Visualizations

Button on dashboard?

jgauthier
Contributor

Greetings,

Using Splunk version 6. I would like to make a radialGauge a drilldown, but apparently that doesn't work. So, I decided to create a button on my dashboard. Unfortunately, the dashboard causes the entire dashboard to not render.

Here is an example. I've tried moving the button all around inside the pulldown module. Any suggestions?

  <module name="PulldownSwitcher" layoutPanel="panel_row2_col2" group="Tickets - Unassigned">
  <param name="mode">independent</param>
  <param name="label"> </param>

  <module name="Button">
    <param name="label">View Details</param>
<module name="Redirector">
    <param name="url">http://google.com?q=something</param>
  </module>

  <module name="HiddenSavedSearch" group="All Unassigned" autoRun="True">
    <param name="savedSearch">Helpdesk - Tickets - Unassigned</param>
     <module name="HiddenChartFormatter">
      <param name="chart">radialGauge</param>
      <param name="charting.chart.rangeValues">[0,5,15,20]</param>
      <param name="primaryAxisTitle.text">Date</param>
      <param name="secondaryAxisTitle.text">Tickets</param>
      <param name="legend.placement">right</param>
      <module name="JobProgressIndicator"/>
      <module name="JSChart">
        <param name="width">100%</param>
        <param name="height">300px</param>
      </module> <!-- JSChart -->

     </module>
    </module>   
    </module>
   </module> 
Tags (2)

jgauthier
Contributor

Thank you! I might have sideviews, but I was intentionally avoiding them! I will take a look at the static content example! Thanks again!

0 Karma

emiller42
Motivator

I'm checking the XML reference, and I'm not seeing any built-in 'Button' modules. I believe the button module is a part of the Sideview Utils package. Do you have that installed as well? If not, that's likely your problem.

Another route you could take that doesn't require reliance on Sideview, is to use a StaticContentSample module and then render your button using traditional html/css/js/whatever.

0 Karma

jgauthier
Contributor

I did have the module in the wrong spot. I corrected this, but it did not resolve the issue. I belive moving the button module around caused me to paste it wrong. I put the dashboard back, and when I add this:

View Details

http://google.com?q=something

The entire dashboard breaks. Including other switchers, and even the pull down contents are empty.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Perhaps it's copy-and-paste error, but it looks like you're missing a tag.

---
If this reply helps you, Karma would be appreciated.
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!

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...

span_metrics: The OpenTelemetry-Idiomatic Way to See Inside Your Services

You open a trace in Splunk Observability Cloud and everything looks fine. One root span, order-pipeline, with ...