<?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: Why does field extraction only work when &amp;quot;| extract reload=T&amp;quot; is added to search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209355#M61178</link>
    <description>&lt;P&gt;The problem is probably in your &lt;CODE&gt;REGEX&lt;/CODE&gt; OR the order in which the extractions are being executed. Try using the &lt;CODE&gt;btool&lt;/CODE&gt; to troubleshoot the order and see if that fixes your problem. You should almost never have to use the &lt;CODE&gt;| extract reload=t&lt;/CODE&gt; directive.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Dec 2015 20:55:26 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2015-12-28T20:55:26Z</dc:date>
    <item>
      <title>Why does field extraction only work when "| extract reload=T" is added to search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209354#M61177</link>
      <description>&lt;P&gt;I've got a fairly simple field extraction specified by a props.conf REPORT directive pointed to a transforms.conf spec. The REPORT directive is within a sourcetype spec'd stanza.&lt;/P&gt;

&lt;P&gt;The transforms.conf spec has a SOURCE_KEY value that is a autokv extracted field that is null in some events (i.e. "key=" as a null while positive events are key=value). The only other directive for this stanza is the REGEX, which works via rex command.&lt;/P&gt;

&lt;P&gt;With this config set, and after a splunk restart, the extracted field fails to show up in search results on the sourcetype. However, if I run the same search, and append a &lt;CODE&gt;| extract reload=T&lt;/CODE&gt; to the end, the field shows up.&lt;/P&gt;

&lt;P&gt;This is very confusing. Does anybody have any explanation as to what could be going on here? &lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 20:40:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209354#M61177</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2015-12-28T20:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why does field extraction only work when "| extract reload=T" is added to search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209355#M61178</link>
      <description>&lt;P&gt;The problem is probably in your &lt;CODE&gt;REGEX&lt;/CODE&gt; OR the order in which the extractions are being executed. Try using the &lt;CODE&gt;btool&lt;/CODE&gt; to troubleshoot the order and see if that fixes your problem. You should almost never have to use the &lt;CODE&gt;| extract reload=t&lt;/CODE&gt; directive.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 20:55:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209355#M61178</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2015-12-28T20:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why does field extraction only work when "| extract reload=T" is added to search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209356#M61179</link>
      <description>&lt;P&gt;Are the props and transforms on the search head in the app that you are searching from?&lt;/P&gt;

&lt;P&gt;Report- is a search time extraction and needs to be in the app or exported globally and needs to be on the search head.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2016 12:06:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209356#M61179</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-08-27T12:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why does field extraction only work when "| extract reload=T" is added to search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209357#M61180</link>
      <description>&lt;P&gt;Oh sorry muebel, didn't see this was you... I'm sure you've already crossed these T's and dotted these I's&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2016 12:08:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209357#M61180</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-08-27T12:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why does field extraction only work when "| extract reload=T" is added to search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209358#M61181</link>
      <description>&lt;P&gt;This directive causes an immediate single-session (for you, not necessarily Search-Head-wide) reload of all of your Search Head KOs.  This is particularly useful if you are not an admin and cannot force a reboot of the Search Head and cannot call the &lt;CODE&gt;bump&lt;/CODE&gt; REST endpoint, both of which will also cause a (global) reload of the KOs.&lt;/P&gt;

&lt;P&gt;In your case, the key thing to note is that you should only need to do this ONE TIME to pull in the KOs.  Once your new Search-Time KOs are functioning, you can stop using it, because the work has been done.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Aug 2016 22:36:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209358#M61181</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-08-28T22:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why does field extraction only work when "| extract reload=T" is added to search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209359#M61182</link>
      <description>&lt;P&gt;Extract reload=t forces a refresh of props and transforms. When you make changes to props and transforms in most cases you need a restart of Splunk to ensure those changes are applied. extract reload=t is a way of circumventing that. You will likely find that a simple restart of Splunk means you don't need to use this workaround.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 00:09:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209359#M61182</guid>
      <dc:creator>martynoconnor</dc:creator>
      <dc:date>2019-06-04T00:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why does field extraction only work when "| extract reload=T" is added to search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209360#M61183</link>
      <description>&lt;P&gt;I got this figured out for my instance.&lt;/P&gt;

&lt;P&gt;I had a user who built transforms based field extractions that targeted the "log" field that was being extracted from the json formatted data.&lt;/P&gt;

&lt;P&gt;The extraction worked with | extract reload=true, but not without it.&lt;/P&gt;

&lt;P&gt;My fix was to go under that sourcetype in props and manually extract the json formatted fields before the calls to the transforms happened&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
&lt;STRONG&gt;KV_MODE = json&lt;/STRONG&gt;&lt;BR /&gt;
REPORT-user-extract = whatever&lt;BR /&gt;
REPORT-user-extract2 = whatever2&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 23:43:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-field-extraction-only-work-when-quot-extract-reload-T/m-p/209360#M61183</guid>
      <dc:creator>tprz</dc:creator>
      <dc:date>2020-04-09T23:43:02Z</dc:date>
    </item>
  </channel>
</rss>

