Dashboards & Visualizations

How to add search bar to my created dashboard?

ASR1022
Loves-to-Learn Lots

I have a dashboard created with network data already in that dashboard.  I am trying to create a search dropdown or search bar so I can search for a specific IP and it will show all the data for that IP in my dashboard.

Labels (1)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

If you're using simpleXML dashboards, then simply add a text form input and assign it a token and use that token in your search

<search>
  <query>your search... ip=$ip_text$</query>
</search>
0 Karma

ASR1022
Loves-to-Learn Lots

Thanks, bowesmana,

 

I am new to Splunk I am trying to figure out the query for my search I am using a pivot search and when I put 

ip=$ip_text$

It tells me Error in 'PivotProcessor': Error in 'PivotCell': The dataset 'RootObject' has no field 'IP='.  I am wondering if I am doing the search wrong.

Tags (1)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

Are you using the pivot report and trying to add a filter or creating and classic (XML) or dashboard studio dashboard? 

0 Karma

ASR1022
Loves-to-Learn Lots

Yes I am using the pivot report and trying to add a filter.

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...

Reduce and Transform Your Firewall Data with Splunk Data Management

Managing high-volume firewall data has always been a challenge. Noisy events and verbose traffic logs often ...