Splunk Search

help to retrieve a token value in a dropdown list

jip31
Motivator

Hi

I launch a dashboard from another dashboard when I click on the field "Site"

/app/spl_pub_dashboard/bib_reg?Site=$click.value$

 Now I need to retrieve the field "Site" in the dropdown list of the destination dashboard and in the same time to keep the site values from "site.csv"

Is anybody can help please?

 

 <input type="dropdown" token="Site" searchWhenChanged="true">
      <label>Site</label>
      <fieldForLabel>Site</fieldForLabel>
      <fieldForValue>Site</fieldForValue>
      <search>
        <query>| inputlookup site.csv</query>
      </search>
    </input>

 

Tags (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Try it this way

/app/spl_pub_dashboard/bib_reg?form.Site=$click.value$

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Try it this way

/app/spl_pub_dashboard/bib_reg?form.Site=$click.value$
0 Karma

jip31
Motivator

perfect thanks

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

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 ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...