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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...