<?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: Create calculated field during the indexing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Create-calculated-field-during-the-indexing/m-p/589970#M103403</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/45236"&gt;@rayar&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the choose to use indexed fields (or not) depends on the volume of indexed data and searches:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if you have a large volume of logs to index, it isn't a good ideas because you overload your indexers and it's better to perform this extraction at search time when you already filtered yourdata in a search,&lt;/LI&gt;&lt;LI&gt;if you have many searches using those fields, it could be useful.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In other words, you have to decide if anticipate a work at index time or to use it at search time.&lt;/P&gt;&lt;P&gt;If you have intermediate Heavy Forwarders, they could be used to extract fields without overloading Indexers.&lt;/P&gt;&lt;P&gt;About the way to do this, you can see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.5/Data/Configureindex-timefieldextraction" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.5/Data/Configureindex-timefieldextraction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I usually don't extract fields at index time!&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 21 Mar 2022 10:38:14 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-03-21T10:38:14Z</dc:date>
    <item>
      <title>Create calculated field during the indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-calculated-field-during-the-indexing/m-p/589968#M103402</link>
      <description>&lt;P&gt;We are considering to calculate specific filed (list)&amp;nbsp; during the indexing&amp;nbsp;&lt;/P&gt;&lt;P&gt;the calculation will be -&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;| eval list=if(match(dhost,"\.[\w]{2,3}\.[\w]{2}:?[\d]?"),"mozilla","iana")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. What is the performance impact&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;2. how it should be done ?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 10:07:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-calculated-field-during-the-indexing/m-p/589968#M103402</guid>
      <dc:creator>rayar</dc:creator>
      <dc:date>2022-03-21T10:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create calculated field during the indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-calculated-field-during-the-indexing/m-p/589970#M103403</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/45236"&gt;@rayar&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the choose to use indexed fields (or not) depends on the volume of indexed data and searches:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if you have a large volume of logs to index, it isn't a good ideas because you overload your indexers and it's better to perform this extraction at search time when you already filtered yourdata in a search,&lt;/LI&gt;&lt;LI&gt;if you have many searches using those fields, it could be useful.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In other words, you have to decide if anticipate a work at index time or to use it at search time.&lt;/P&gt;&lt;P&gt;If you have intermediate Heavy Forwarders, they could be used to extract fields without overloading Indexers.&lt;/P&gt;&lt;P&gt;About the way to do this, you can see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.5/Data/Configureindex-timefieldextraction" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.5/Data/Configureindex-timefieldextraction&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I usually don't extract fields at index time!&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 10:38:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-calculated-field-during-the-indexing/m-p/589970#M103403</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-03-21T10:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create calculated field during the indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-calculated-field-during-the-indexing/m-p/590021#M103405</link>
      <description>&lt;P&gt;As far as I know, there is no calculated indexed-time field extraction possible in Splunk. All indexed time field extractions are either static OR using regex on _raw OR metadata fields (host/source/sourcetype/_time) etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 13:57:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-calculated-field-during-the-indexing/m-p/590021#M103405</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-03-21T13:57:19Z</dc:date>
    </item>
  </channel>
</rss>

