Dashboards & Visualizations

Create several links on dashboard and click on click of a submitbutton

erdalcan
New Member

USers need to see couple of servers on the dashboard , select and submit to the appropriate dashboard
I have found the xml code , but this is for searches, how can we modify the searches with a link to a dashboard?

<form>
   <fieldset submitButton="true">
     <input type="radio" token="choice">
       <choice value="| stats count | eval search = &quot;search 1&quot;">Search 1</choice>
       <choice value="| stats count | eval search = &quot;search 2&quot;">Search 2</choice>
       <choice value="| stats count | eval search = &quot;search 3&quot;">Search 3</choice>
     </input>
   </fieldset>
   <row>
     <table>
       <searchString>$choice$</searchString>
     </table>
   </row>
 </form>
Tags (1)
0 Karma

woodcock
Esteemed Legend

Try this instead:

<row>
   <panel>
      <title>Top Games</title>
      <input type="link" token="notUsed" searchWhenChanged="true">
         <label></label>
         <choice value="search1">Search 1</choice>
         <choice value="search2">Search 2</choice>
         <choice value="search3">Search 3</choice>
         <default>search1</default>
         <change>
            <condition value="search1">
               <set token="search">Search 1 goes here</set>
            </condition>
            <condition value="search2">
               <set token="search">Search 1 goes here</set>
            </condition>
            <condition value="search3">
               <set token="search">Search 1 goes here</set>
            </condition>
         </change>
      </input>
      <chart>
         <search>
            <query>$search$</query>
         </search>
         <option name="charting.chart">bar</option>
         <option name="charting.legend.placement">none</option>
      </chart>
   </panel>
</row>
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...