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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...