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
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...