<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error while searching using the value from the input in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Error-while-searching-using-the-value-from-the-input/m-p/397733#M70918</link>
    <description>&lt;P&gt;I have the following dynamic options for my "consumer" multiselect:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=$index$ |  fillnull value="not specified" "header" | dedup "header" | table "header" | rename "header" as "consumer"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And something like this for my chart where I'm trying to filter the data by the value from multiselect:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=$index$ |  fillnull value="not specified" "header" | stats  count by  "header" | search "header"=$consumer$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem is when I'm trying to show data only for "not specified" consumers - it can't find anything.&lt;BR /&gt;
The query is working if I change $consumer$ to "not specified", so the problem is in $consumer$.&lt;BR /&gt;
Any advices?&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2019 14:17:37 GMT</pubDate>
    <dc:creator>quintessence</dc:creator>
    <dc:date>2019-04-03T14:17:37Z</dc:date>
    <item>
      <title>Error while searching using the value from the input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Error-while-searching-using-the-value-from-the-input/m-p/397733#M70918</link>
      <description>&lt;P&gt;I have the following dynamic options for my "consumer" multiselect:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=$index$ |  fillnull value="not specified" "header" | dedup "header" | table "header" | rename "header" as "consumer"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And something like this for my chart where I'm trying to filter the data by the value from multiselect:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=$index$ |  fillnull value="not specified" "header" | stats  count by  "header" | search "header"=$consumer$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem is when I'm trying to show data only for "not specified" consumers - it can't find anything.&lt;BR /&gt;
The query is working if I change $consumer$ to "not specified", so the problem is in $consumer$.&lt;BR /&gt;
Any advices?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 14:17:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Error-while-searching-using-the-value-from-the-input/m-p/397733#M70918</guid>
      <dc:creator>quintessence</dc:creator>
      <dc:date>2019-04-03T14:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error while searching using the value from the input</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Error-while-searching-using-the-value-from-the-input/m-p/397734#M70919</link>
      <description>&lt;P&gt;Try to add the filter before the stats and add quotes around the token (as it has spaces in the value)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=$index$ |  fillnull value="not specified" "header"  | search "header"="$consumer$" | stats  count by  "header"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If it doesn't work, please share your multiselect xml.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2019 17:41:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Error-while-searching-using-the-value-from-the-input/m-p/397734#M70919</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2019-04-03T17:41:07Z</dc:date>
    </item>
  </channel>
</rss>

