How to Add Text Input option to Splunk Dashboard

The main purpose of adding inputs to Splunk dashboard is to make dashboards dynamic. There are  few easy steps to add text 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.


Step 2:

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


Step 3:

Now edit the Text Input 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 text_token . At last click on Apply button.



Step 4 :

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


Step 5:

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


Step 6:

Finally Text Input option is added to the dashboard. Write any “method” field value inside the Text box . Depending upon the value dashboard will populate. Here we have given “DELETE” as  “method” field value and depending upon the token value we are getting results in the panel.


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

How to Add Text Input option to Splunk Dashboard

Happy Splunking !!