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 | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...