<?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 Re: Search does not return results for some values of one character extracted field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-does-not-return-results-for-some-values-of-one-character/m-p/194825#M56179</link>
    <description>&lt;P&gt;You are probably running in to this well-known problem:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://blogs.splunk.com/2011/10/07/cannot-search-based-on-an-extracted-field/"&gt;http://blogs.splunk.com/2011/10/07/cannot-search-based-on-an-extracted-field/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The solution is to put this into &lt;CODE&gt;fields.conf&lt;/CODE&gt; in the same directory that you have your field extractions (where &lt;CODE&gt;props.conf&lt;/CODE&gt; is):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[MyField]
INDEXED_VALUE = false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 07 Jul 2015 15:03:46 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-07-07T15:03:46Z</dc:date>
    <item>
      <title>Search does not return results for some values of one character extracted field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-does-not-return-results-for-some-values-of-one-character/m-p/194824#M56178</link>
      <description>&lt;P&gt;I have defined an extracted field called "log_level" which holds one character values ("E","W,"I"). The definition of extracted field is fine and Splunk correctly identify them, group them and show the counts in left side summary box when I search for all events.&lt;/P&gt;

&lt;P&gt;But when I search for certain values, even though they exist, Splunk doesn't return any result. For example log_level="E" and log_level="I" returns results but log_level="W" doesn't. I thought it might be related to popularity of those values but it doesn't. In my source 1% of records have "E" value, 9% "W" and 90% "I" value. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:36:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-does-not-return-results-for-some-values-of-one-character/m-p/194824#M56178</guid>
      <dc:creator>hmozaffari</dc:creator>
      <dc:date>2020-09-29T06:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Search does not return results for some values of one character extracted field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-does-not-return-results-for-some-values-of-one-character/m-p/194825#M56179</link>
      <description>&lt;P&gt;You are probably running in to this well-known problem:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://blogs.splunk.com/2011/10/07/cannot-search-based-on-an-extracted-field/"&gt;http://blogs.splunk.com/2011/10/07/cannot-search-based-on-an-extracted-field/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The solution is to put this into &lt;CODE&gt;fields.conf&lt;/CODE&gt; in the same directory that you have your field extractions (where &lt;CODE&gt;props.conf&lt;/CODE&gt; is):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[MyField]
INDEXED_VALUE = false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jul 2015 15:03:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-does-not-return-results-for-some-values-of-one-character/m-p/194825#M56179</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-07T15:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Search does not return results for some values of one character extracted field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-does-not-return-results-for-some-values-of-one-character/m-p/194826#M56180</link>
      <description>&lt;P&gt;Thanks. It resolved it!&lt;BR /&gt;
Just a hint for others. If your extracted field name is "EXTRACT-MyField" remove the EXTRACT prefix and just refer to it as "[MyField]" &lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2015 16:43:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-does-not-return-results-for-some-values-of-one-character/m-p/194826#M56180</guid>
      <dc:creator>hmozaffari</dc:creator>
      <dc:date>2015-07-07T16:43:56Z</dc:date>
    </item>
  </channel>
</rss>

