Dashboards & Visualizations

Add link to dashboard after search parameter

bidhanjena13
Engager

Can anyone suggest me how to add link to dashboard on input dropdown option?

I have a dropdown input , and based on a certain static input, i need to redirect to another dashboard

Labels (3)
0 Karma
1 Solution

kamlesh_vaghela
SplunkTrust
SplunkTrust

@bidhanjena13 

Can you please try this?

<input type="dropdown" token="field1">
      <label>field1</label>
      <choice value="reports">reports</choice>
      <choice value="search">search</choice>
      <choice value="dashboards">dashboards</choice>
      <change>
        <condition match="$value$==&quot;reports&quot;">
          <link target="_blank">/app/search/reports</link>
        </condition>
        <condition match="$value$==&quot;search&quot;">
          <link target="_blank">/app/search/search</link>
        </condition>
        <condition match="$value$==&quot;dashboards&quot;">
          <link target="_blank">/app/search/dashboards</link>
        </condition>
      </change>
    </input>

View solution in original post

Tags (1)

kamlesh_vaghela
SplunkTrust
SplunkTrust

@bidhanjena13 

Are you looking for this?

  <input type="dropdown" token="field1">
      <label>field1</label>
      <choice value="reports">reports</choice>
      <choice value="search">search</choice>
      <choice value="dashboards">dashboards</choice>
      <change>
          <link target="_blank">/app/search/$value$</link>
      </change>
    </input>

Thanks
KV
▄︻̷̿┻̿═━一

If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.

bidhanjena13
Engager

This is really helpful, but i have another question

can we put below for a specific value like only at select of dashboard as choice  it'll go for the link

<change>
  <link target="_blank">/app/search/$value$</link>
</change>

 

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@bidhanjena13 

Can you please try this?

<input type="dropdown" token="field1">
      <label>field1</label>
      <choice value="reports">reports</choice>
      <choice value="search">search</choice>
      <choice value="dashboards">dashboards</choice>
      <change>
        <condition match="$value$==&quot;reports&quot;">
          <link target="_blank">/app/search/reports</link>
        </condition>
        <condition match="$value$==&quot;search&quot;">
          <link target="_blank">/app/search/search</link>
        </condition>
        <condition match="$value$==&quot;dashboards&quot;">
          <link target="_blank">/app/search/dashboards</link>
        </condition>
      </change>
    </input>
Tags (1)
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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