<?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: Field Extraction - Extraction does and doesn't work in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Extraction-does-and-doesn-t-work/m-p/103082#M26640</link>
    <description>&lt;P&gt;I should have mentioned in my question that I have already tried that, I will update it.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2011 13:39:03 GMT</pubDate>
    <dc:creator>Drainy</dc:creator>
    <dc:date>2011-11-03T13:39:03Z</dc:date>
    <item>
      <title>Field Extraction - Extraction does and doesn't work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Extraction-does-and-doesn-t-work/m-p/103080#M26638</link>
      <description>&lt;P&gt;I have a search;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=127.0.0.1 type=* notification_level=Warning device_ip=192.168.0.1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If I add &lt;CODE&gt;earliest=-12h@h&lt;/CODE&gt; to the end of the search then it fails, if I remove &lt;CODE&gt;type=*&lt;/CODE&gt; then the search works correctly but the field &lt;CODE&gt;type&lt;/CODE&gt; isn't extracted at all... I have to explicitly define it in the search for it to show.&lt;/P&gt;

&lt;P&gt;The field is a REGEX defined in props/transforms and is referenced in the same way that my custom fields of &lt;CODE&gt;notification_level&lt;/CODE&gt; and &lt;CODE&gt;device_ip&lt;/CODE&gt; are both done. There is something obviously wonky here but I can't see what or where.&lt;/P&gt;

&lt;P&gt;I have already tried the steps in the following URL relating to adding the fields to fields.conf;&lt;BR /&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;</description>
      <pubDate>Thu, 03 Nov 2011 13:29:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Extraction-does-and-doesn-t-work/m-p/103080#M26638</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2011-11-03T13:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction - Extraction does and doesn't work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Extraction-does-and-doesn-t-work/m-p/103081#M26639</link>
      <description>&lt;P&gt;Draineh, &lt;/P&gt;

&lt;P&gt;Try to add the following in &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/fields.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[MyField]&lt;BR /&gt;
INDEXED_VALUE = false&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;See here for more: &lt;BR /&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;Hope this helps&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;gt; please upvote and accept answer if you find it useful - thanks!&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 13:34:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Extraction-does-and-doesn-t-work/m-p/103081#M26639</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2011-11-03T13:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Field Extraction - Extraction does and doesn't work</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Extraction-does-and-doesn-t-work/m-p/103082#M26640</link>
      <description>&lt;P&gt;I should have mentioned in my question that I have already tried that, I will update it.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2011 13:39:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-Extraction-Extraction-does-and-doesn-t-work/m-p/103082#M26640</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2011-11-03T13:39:03Z</dc:date>
    </item>
  </channel>
</rss>

