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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...