Splunk Search

Multi Select ALL value shows no data

Neel88
Explorer

Hello,

I am using 2 multi select dropdown. When its on  the default value  'ALL' then it doesn't show any value in the table, after selection it works. 

Neel88_0-1675393384547.png

Neel88_1-1675393685675.png

 

After open in search, it shows "*" in the value.

| loadjob savedsearch="TEST"
| where FLOW IN("*") and adt IN("*")
| table adt, FLOW, Date
| fields Date, adt, FLOW, CMTotal

------------------------------------------------------------------

Original Query- 

<form>

  <label>AAA_Test</label>

  <fieldset submitButton="false">

    <input type="multiselect" token="flow">

      <label>Select Flow</label>

      <choice value="*">All</choice>

      <default>*</default>

      <delimiter>,</delimiter>

      <fieldForLabel>FLOW</fieldForLabel>

      <fieldForValue>FLOW</fieldForValue>

      <search>

        <query>| loadjob savedsearch="TEST" | dedup FLOW</query>

        <earliest>0</earliest>

        <latest></latest>

      </search>

      <prefix>IN(</prefix>

      <suffix>)</suffix>

      <valuePrefix>"</valuePrefix>

      <valueSuffix>"</valueSuffix>

      <initialValue>*</initialValue>

    </input>

    <input type="multiselect" token="adt">

      <label>Select ADT</label>

      <choice value="*">All</choice>

      <default>*</default>

      <delimiter>,</delimiter>

      <fieldForLabel>adt</fieldForLabel>

      <fieldForValue>adt</fieldForValue>

      <search>

        <query>| loadjob savedsearch="TEST" | dedup adt</query>

        <earliest>0</earliest>

        <latest></latest>

      </search>

      <prefix>IN(</prefix>

      <suffix>)</suffix>

      <valuePrefix>"</valuePrefix>

      <valueSuffix>"</valueSuffix>

      <initialValue>*</initialValue>

    </input>

  </fieldset>

  <row>

    <panel>

      <table>

        <search>

          <query>| loadjob savedsearch="TEST"

          | where FLOW $flow$ and adt $adt$

          | table adt, FLOW, Date, NbRecordsOKFCR, CMTotal, NbRecordsOKCM, NBIntFile, NB1, NB2, NB3, NbErrorsCM, Alert

          | fields Date, adt, FLOW, CMTotal</query>

          <earliest>0</earliest>

          <latest></latest>

        </search>

        <option name="count">10</option>

        <option name="drilldown">none</option>

        <option name="refresh.display">progressbar</option>

      </table>

    </panel>

  </row>

</form>

Please suggest.

0 Karma

yeahnah
Motivator
0 Karma
Get Updates on the Splunk Community!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...