Splunk Search

Configuring a Radio button

antaeuslogan
New Member

Good evening,

I am trying to configure two radio buttons. I want the first radio button (a csv file in a table form with fields and and values showing multiple columns) when clicked upon to show the field and values by itself in a dashboard panel. I need the same to happen with the second radio button with the other csv file that I need to include on this dashboard. 

The goal is to be able to switch back and forth between the two radio buttons to bring up the different csv files without seeing both at one time.

I am having trouble configuring the radio button. Some say that I need to construct a Javascript or with Tokens. Can this be done and which is the quickest way to get this done?

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
    <input type="radio" token="lookup">
      <label>Look up</label>
      <choice value="lookup1.csv">Lookup one</choice>
      <choice value="lookup2.csv">Lookup two</choice>
      <default>lookup1.csv</default>
    </input>
    <panel>
      <table>
        <title>Lookup</title>
        <search>
          <query>| inputlookup $form.lookup$</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">none</option>
      </table>
    </panel>
0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...