<?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 are some of the best practices for field extractions? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/What-are-some-of-the-best-practices-for-field-extractions/m-p/413222#M119148</link>
    <description>&lt;P&gt;It's pretty straight-forward:&lt;/P&gt;

&lt;P&gt;field1=value1  field2=value2 field3=value3&lt;/P&gt;

&lt;P&gt;The sourcetype is configured with KVMODE=auto.   We also have an app on the search-head, which also does extractions against this sourcetype, using transforms.  IMO, the app isn't needed, unless there's some need for it with CIM/ES, which I'm really just getting familiar with. &lt;/P&gt;</description>
    <pubDate>Mon, 20 Aug 2018 16:05:36 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2018-08-20T16:05:36Z</dc:date>
    <item>
      <title>What are some of the best practices for field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-some-of-the-best-practices-for-field-extractions/m-p/413220#M119146</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;There is some debate in our group regarding best practices for field extractions.  We have a feed that has well defined key-value fields.   We also have field extractions setup on the SH, for a number of these fields.  Is there a really a need for the field extractions, since key-value pairs will get picked up automatically?  Pros/cons?  We use CIM/ES extensively.  &lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 15:38:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-some-of-the-best-practices-for-field-extractions/m-p/413220#M119146</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2018-08-20T15:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: What are some of the best practices for field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-some-of-the-best-practices-for-field-extractions/m-p/413221#M119147</link>
      <description>&lt;P&gt;It depends on the sourcetype definition. If the sourcetype is handling the extractions natively then you are slowing things down by adding more search time extractions.&lt;/P&gt;

&lt;P&gt;Sounds like we might need an example... &lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 16:00:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-some-of-the-best-practices-for-field-extractions/m-p/413221#M119147</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2018-08-20T16:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: What are some of the best practices for field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-some-of-the-best-practices-for-field-extractions/m-p/413222#M119148</link>
      <description>&lt;P&gt;It's pretty straight-forward:&lt;/P&gt;

&lt;P&gt;field1=value1  field2=value2 field3=value3&lt;/P&gt;

&lt;P&gt;The sourcetype is configured with KVMODE=auto.   We also have an app on the search-head, which also does extractions against this sourcetype, using transforms.  IMO, the app isn't needed, unless there's some need for it with CIM/ES, which I'm really just getting familiar with. &lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 16:05:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-some-of-the-best-practices-for-field-extractions/m-p/413222#M119148</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2018-08-20T16:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: What are some of the best practices for field extractions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/What-are-some-of-the-best-practices-for-field-extractions/m-p/413223#M119149</link>
      <description>&lt;P&gt;Yea...def straightforward. My guess is your hunch: a case of over engineering. While they may have considered it benign, it def would produce redundant processing and marginally slow down the Search Head processing.&lt;/P&gt;

&lt;P&gt;If I were you, here's what I would do to validate:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Export a sample of the data to my local sandbox and index it there showing that the name/value pairs are available out of the box&lt;/LI&gt;
&lt;LI&gt;Comment out the related reference to the transforms that exists in props (but not the transforms itself as it might be used by other sourcetypes) and see if it still works&lt;/LI&gt;
&lt;LI&gt;Change &lt;CODE&gt;KV_MODE&lt;/CODE&gt; from auto to &lt;CODE&gt;auto_escaped&lt;/CODE&gt;. See &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf#Field_extraction_configuration"&gt;props.conf.spec&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;To be safe, you might as well share what the transforms is. You mentioned KV_MODE which is props. But let's be sure about what the purpose of the related transforms is.&lt;/P&gt;

&lt;P&gt;Also, it could be the case that in your environment, someone erroneously edited the default KV_MODE thereby obligating any sourcetype to need such over-the-top extra config.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 13:30:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/What-are-some-of-the-best-practices-for-field-extractions/m-p/413223#M119149</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2018-08-22T13:30:10Z</dc:date>
    </item>
  </channel>
</rss>

