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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...