Spread our blog

How to Add Radio Input option to Splunk Dashboard

The main purpose of adding inputs in Splunk dashboard is to make dashboards dynamic. There are few easy steps to add radio input option to Splunk dashboard.

Step 1:

Open a dashboard which you want to make dynamic. You can see the Edit option on top right corner of the dashboard. Click on the Edit option.

radio1

Step 2:

After clicking Edit option you can see Add Input option in the dashboard , click on that. Then click on Radio .

radio2

Step 3:

Now edit the Radio option . There you have to give a Label, which will be shown  on the dashboard.  Then click the check box beside Search on Change . If you don’t click this then it will not effect the dashboard. So every time you have to click the check box. Give a Token name by which value will pass. Here we have a given a token name as radio_token .

radio3

There are two ways to put the values of the field. One is Static Options and another is Dynamic Options.

Step 4: Static Options

In the static options you have to add  the name values of a  field  as you want to see to the dashboard and against those names you have to specify the values one by one manually. At last click on Apply button.

radio12

Step 5 :

You have to pass the token inside the panels which you want to make dependent upon the token. Click on Edit Search of that panel. Token name should be enclosed by “$” sign. Also you have to mention the field name for which token will work. Here we have given the field name as method. Click on the Apply button.

radio5

Step 6:

After making changes in the dashboard click on Save button to save all the changes and refresh the dashboard tab once.

radio6

Step 7:

Finally Radio Input option is added in the dashboard. Select any method name from the list . Depending upon the value dashboard will populate. Here we have selected “post” as a method field value.

radio7
Step 8: Dynamic Options

Follow the steps from 1 to 3 as it is.In the dynamic options you have to enter a  Search String from which we can get all the values of a particular field. Select the time as All time to get all the values of that field. Also you have to give Field For Label for which field you want to populate the radio input option. You have to give the Field For Value for which field you want to populate the radio input option . We have given the Field For Label and Field For Value as method because we want values of method field as options. For selecting all values if the method field we have given All in static options. Here don’t need to write all the options manually . The option values will be  automatically generated  by Search String  Click on Apply button.

radio8

radio4

Step 9:

You have to pass the token inside the panels which you want to make dependent upon the token. Click on Edit Search of that panel. Token name should be enclosed by “$” sign. Also you have to mention the field name for which token will work. Here we have given the field name as method. Click on the Apply button.

radio5

Step 10:

After making changes in the dashboard click on Save button to save all the changes and refresh the dashboard tab once.

radio11

Step 11:

Finally Radio Input option is added to the dashboard. Select any method name from the list . Depending upon the value dashboard will populate. Here we have selected “post” as a “method” field value.

radio10

 

You can also know about :  How To Use Drilldown Token ($click.value$ and $click.value2$) In Splunk

Hope this has helped you in achieving the below requirement without fail:

How to Add Radio Input option to Splunk Dashboard

 

Happy Splunking !!

What’s your Reaction?
+1
+1
+1
+1
+1
1
+1
+1

Spread our blog

2 COMMENTS

  1. Hi,

    Can you post a blog showing the usage of various tokens in splunk dashboard like click.value , click.name etc

LEAVE A REPLY

Please enter your comment!
Please enter your name here