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
Ultra Champion
    <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
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!