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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...