Getting Data In

How to use a drop-down menu to filter a Saved Search?


I have a saved search

|inputlookup 2040Info.csv 

It produces a table like this
alt text

How would I use drop-down menus to be able to see for example Status that is not use, or just information on ip

0 Karma

Esteemed Legend

Like this:

  <label>Your Label Here</label>
  <description>Your Description Here</description>
  <fieldset submitButton="false" autoRun="true">
    <input type="text" token="IPAddress_token" searchWhenChanged="true">
      <label>IP Address</label>
    <input type="dropdown" token="Status_token" searchWhenChanged="true">
      <choice value="*">ALL</choice>
      <choice value="In use">In use</choice>
      <choice value="foo">foo</choice>
      <choice value="bar">bar</choice>
      <title>Your Title Here</title>
          <query>|inputlookup 2040Info.csv | search IP_Address=$IPAddress_token$ Status=$Status_token$</query>
        <option name="count">20</option>
        <option name="dataOverlayMode">none</option>
        <option name="drilldown">cell</option>
        <option name="percentagesRow">false</option>
        <option name="rowNumbers">false</option>
        <option name="totalsRow">false</option>
        <option name="wrap">true</option>
0 Karma
Get Updates on the Splunk Community!

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...