<?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: What is the difference between index time extractions and search time extractions? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421416#M167138</link>
    <description>&lt;P&gt;Hi , &lt;/P&gt;

&lt;P&gt;It was mentioned earlier by Stephen Sorkin [Splunk] ♦ in one of his answers. I am just coping this remark on the same. i find it really useful&lt;/P&gt;

&lt;P&gt;In general, we recommend search-time extractions rather than index-time extractions. There are relatively few cases where index-time extractions are better, and they come at the cost of brittleness of configuration and an increase in index size (which in turn makes searches slower).&lt;/P&gt;

&lt;P&gt;The distinction in the UI of "uses transform" vs. inline doesn't have anything to do with search-time vs index-time. It is referring to where the regex itself is stored: in an EXTRACT- line in props.conf (for inline) as opposed to in a REPORT- line that refers to a stanza in transforms.conf (for uses transform).&lt;/P&gt;

&lt;P&gt;Index time extractions are also set in props.conf and transforms.conf by means of the TRANSFORM- line. Again, they should rarely be used. They are appropriate when the heuristic of search for the value of the field fails (either because the value is ubiquitous outside of cases where the field equals the value, or because the value isn't an indexed token) or when you commonly search for field!=value without other terms to constrain the search.&lt;/P&gt;

&lt;P&gt;Link of the answer : &lt;A href="https://answers.splunk.com/answers/5817/search-time-versus-index-time-field-extractions.html"&gt;https://answers.splunk.com/answers/5817/search-time-versus-index-time-field-extractions.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Oct 2018 18:53:05 GMT</pubDate>
    <dc:creator>iamarkaprabha</dc:creator>
    <dc:date>2018-10-10T18:53:05Z</dc:date>
    <item>
      <title>What is the difference between index time extractions and search time extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421411#M167133</link>
      <description>&lt;P&gt;My question is what is the difference between an index time extraction and a search time extraction? Can anyone explain with some simple examples?&lt;/P&gt;

&lt;P&gt;I have tried to read this :&lt;/P&gt;

&lt;P&gt;one:&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.3/Indexer/Indextimeversussearchtime"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.3/Indexer/Indextimeversussearchtime&lt;/A&gt;, but i stil cant understand.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 19:03:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421411#M167133</guid>
      <dc:creator>aatha89</dc:creator>
      <dc:date>2018-10-09T19:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between index time extractions and search time extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421412#M167134</link>
      <description>&lt;P&gt;I'm not going to be able to explain much myself but maybe something in one of these will help?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/5817/search-time-versus-index-time-field-extractions.html"&gt;https://answers.splunk.com/answers/5817/search-time-versus-index-time-field-extractions.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/151939/how-do-index-and-search-time-field-extractions-differ-and-which-is-better-for-search-performance.html"&gt;https://answers.splunk.com/answers/151939/how-do-index-and-search-time-field-extractions-differ-and-which-is-better-for-search-performance.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/396276/should-i-use-an-index-time-field-extraction.html"&gt;https://answers.splunk.com/answers/396276/should-i-use-an-index-time-field-extraction.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 19:59:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421412#M167134</guid>
      <dc:creator>kmaron</dc:creator>
      <dc:date>2018-10-09T19:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between index time extractions and search time extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421413#M167135</link>
      <description>&lt;P&gt;Index time extractions are the field extractions done at the indexer end when the data is indexed.&lt;BR /&gt;
Search time extractions are field extractions at Search Heads done at the search time for eg. extracting a field using rex command in your search or defining field extractions on search heads.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 20:08:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421413#M167135</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2018-10-09T20:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between index time extractions and search time extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421414#M167136</link>
      <description>&lt;P&gt;splunk will create some default (metadata) fields such as  &lt;CODE&gt;_time, host, index, source, sourcetype&lt;/CODE&gt; etc and write those to disk on the file system along with the raw log event string&lt;/P&gt;

&lt;P&gt;example raw log:  &lt;CODE&gt;time=1539116213 user=mary host=laptop ip=192.168.0.1&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;when you run the query  &lt;CODE&gt;index=main user=mary host=laptop&lt;/CODE&gt; splunk performs search time field extractions on the raw log looking for matches to your search for those fields that are not metadata and/or indexed and written to file system disk field value pairs&lt;/P&gt;

&lt;P&gt;index time extractions are field value pairs written to disk just like the metadata fields but for the most part this is unnecessary and results greater disk usage on your indexers without providing additional benefit&lt;/P&gt;

&lt;P&gt;there are of course use-cases for, and exceptions to, all of this&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 20:32:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421414#M167136</guid>
      <dc:creator>marycordova</dc:creator>
      <dc:date>2018-10-09T20:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between index time extractions and search time extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421415#M167137</link>
      <description>&lt;P&gt;*&lt;EM&gt;Index time Field extraction - *&lt;/EM&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;It happens at index time when splunk indexes data.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;At index time, it extracts some default fields like source, source types and hosts. &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;We can also define our custom source types, hosts so that it tags events with them.&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;*&lt;EM&gt;Search time field extraction- *&lt;/EM&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;It happens at search time when we search through data.  &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;It can extract additional fields other than default fields depending on its search settings. &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;It includes aliasing, tagging, addition of fields from lookup. But here, you cannot change host or source type assignments. &lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Hope i am able to answer your question properly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 06:17:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421415#M167137</guid>
      <dc:creator>nilbak1</dc:creator>
      <dc:date>2018-10-10T06:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference between index time extractions and search time extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421416#M167138</link>
      <description>&lt;P&gt;Hi , &lt;/P&gt;

&lt;P&gt;It was mentioned earlier by Stephen Sorkin [Splunk] ♦ in one of his answers. I am just coping this remark on the same. i find it really useful&lt;/P&gt;

&lt;P&gt;In general, we recommend search-time extractions rather than index-time extractions. There are relatively few cases where index-time extractions are better, and they come at the cost of brittleness of configuration and an increase in index size (which in turn makes searches slower).&lt;/P&gt;

&lt;P&gt;The distinction in the UI of "uses transform" vs. inline doesn't have anything to do with search-time vs index-time. It is referring to where the regex itself is stored: in an EXTRACT- line in props.conf (for inline) as opposed to in a REPORT- line that refers to a stanza in transforms.conf (for uses transform).&lt;/P&gt;

&lt;P&gt;Index time extractions are also set in props.conf and transforms.conf by means of the TRANSFORM- line. Again, they should rarely be used. They are appropriate when the heuristic of search for the value of the field fails (either because the value is ubiquitous outside of cases where the field equals the value, or because the value isn't an indexed token) or when you commonly search for field!=value without other terms to constrain the search.&lt;/P&gt;

&lt;P&gt;Link of the answer : &lt;A href="https://answers.splunk.com/answers/5817/search-time-versus-index-time-field-extractions.html"&gt;https://answers.splunk.com/answers/5817/search-time-versus-index-time-field-extractions.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 18:53:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-is-the-difference-between-index-time-extractions-and-search/m-p/421416#M167138</guid>
      <dc:creator>iamarkaprabha</dc:creator>
      <dc:date>2018-10-10T18:53:05Z</dc:date>
    </item>
  </channel>
</rss>

