<?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 Why is Extracted field not searchable? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Extracted-field-not-searchable/m-p/603342#M209979</link>
    <description>&lt;P&gt;I have logs that seem to be extracting perfectly. All fields show up in "Interesting Fields", and each one can be searched (myField=*) gives results.&lt;/P&gt;
&lt;P&gt;EXCEPT:&lt;/P&gt;
&lt;P&gt;I have a field called "domain". It cannot be searched. It is there. It shows 100% of events have it. I hover over it and i see the contents. But when I run a search, nada.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=disa-cbii&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oliverja_1-1656318185235.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20302iCA7245298EE965BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oliverja_1-1656318185235.png" alt="oliverja_1-1656318185235.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Search&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=disa-cbii domain="insight.adsrvr.org"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0 Results found.&lt;/P&gt;
&lt;P&gt;Same for domain=*&lt;/P&gt;
&lt;P&gt;Now, if we throw in spath&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=disa-cbii 
| spath domain
| search domain="insight.adsrvr.org"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we get plenty of results.&lt;/P&gt;
&lt;P&gt;What is happening? From everything i can tell, I should not need spath because the event is extracting just fine. All the other dozen fields are extracted and searchable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=disa-cbii 
| table domain&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;works fine. How can I table something that doesn't exist?&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jun 2022 15:15:53 GMT</pubDate>
    <dc:creator>oliverja</dc:creator>
    <dc:date>2022-06-27T15:15:53Z</dc:date>
    <item>
      <title>Why is Extracted field not searchable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Extracted-field-not-searchable/m-p/603342#M209979</link>
      <description>&lt;P&gt;I have logs that seem to be extracting perfectly. All fields show up in "Interesting Fields", and each one can be searched (myField=*) gives results.&lt;/P&gt;
&lt;P&gt;EXCEPT:&lt;/P&gt;
&lt;P&gt;I have a field called "domain". It cannot be searched. It is there. It shows 100% of events have it. I hover over it and i see the contents. But when I run a search, nada.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=disa-cbii&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oliverja_1-1656318185235.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20302iCA7245298EE965BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oliverja_1-1656318185235.png" alt="oliverja_1-1656318185235.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Search&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=disa-cbii domain="insight.adsrvr.org"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0 Results found.&lt;/P&gt;
&lt;P&gt;Same for domain=*&lt;/P&gt;
&lt;P&gt;Now, if we throw in spath&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=disa-cbii 
| spath domain
| search domain="insight.adsrvr.org"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we get plenty of results.&lt;/P&gt;
&lt;P&gt;What is happening? From everything i can tell, I should not need spath because the event is extracting just fine. All the other dozen fields are extracted and searchable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=disa-cbii 
| table domain&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;works fine. How can I table something that doesn't exist?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 15:15:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-Extracted-field-not-searchable/m-p/603342#M209979</guid>
      <dc:creator>oliverja</dc:creator>
      <dc:date>2022-06-27T15:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extracted field is not searchable</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Extracted-field-not-searchable/m-p/603347#M209980</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243568"&gt;@oliverja&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you said the using the spath command you see the data, I suppose that you're speaking of json format, did you used the INDEXED_EXTRACTION=JSON in your props.conf?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 08:44:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-Extracted-field-not-searchable/m-p/603347#M209980</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-27T08:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Extracted field is not searchable</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Extracted-field-not-searchable/m-p/603350#M209981</link>
      <description>&lt;P&gt;I have &lt;EM&gt;"KV_MODE = json" &lt;/EM&gt;in my props.conf, which I took to mean that my extractions could take place at search time, instead of index time.&lt;/P&gt;&lt;P&gt;If I do your solution, I would need to disable the KV_MODE so that it is not doing the same work twice? But it would be done on the ingest/index side, not search. We get a lot of these, and I am worried about the storage implications.&lt;/P&gt;&lt;P&gt;I also want to add -- "domain" shows up as covering 100% of events. Again implying it is working?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="oliverja_0-1656321192530.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20305iFBFAA28A27CB47BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="oliverja_0-1656321192530.png" alt="oliverja_0-1656321192530.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 09:13:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-Extracted-field-not-searchable/m-p/603350#M209981</guid>
      <dc:creator>oliverja</dc:creator>
      <dc:date>2022-06-27T09:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extracted field is not searchable</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Extracted-field-not-searchable/m-p/604520#M210276</link>
      <description>&lt;P&gt;Any more clarification before I start overriding things?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 05:07:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-Extracted-field-not-searchable/m-p/604520#M210276</guid>
      <dc:creator>oliverja</dc:creator>
      <dc:date>2022-07-06T05:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Extracted field is not searchable</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Extracted-field-not-searchable/m-p/604531#M210277</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243568"&gt;@oliverja&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as I said, I usually use INDEXED_EXTRACTIONS = JSON and it always correctly runs&amp;nbsp; but kv_mode = json should still work.&lt;/P&gt;&lt;P&gt;Anyway, if the problem is only on one field (domain) maybe the easiest solution is to add a regex extraction on ly for this field, to avoid to change all your extractions.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 06:33:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-Extracted-field-not-searchable/m-p/604531#M210277</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-07-06T06:33:11Z</dc:date>
    </item>
  </channel>
</rss>

