<?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: log with key value pair or transforms.conf performance diffrence? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/log-with-key-value-pair-or-transforms-conf-performance-diffrence/m-p/86562#M17985</link>
    <description>&lt;P&gt;Well, as you've probably calculated, you'll save some license space - in this case like 40%. I cannot see any immediate downside to the approach - &lt;EM&gt;as long as you keep the number and order of fields constant&lt;/EM&gt;. With key=value pairs, that is not relevant, as the extraction takes place automatically. &lt;/P&gt;

&lt;P&gt;You should probably set &lt;CODE&gt;KV_MODE=none&lt;/CODE&gt; for this sourcetype in props.conf. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Whether a &lt;CODE&gt;REPORT&lt;/CODE&gt; is faster than &lt;CODE&gt;KV_MODE=auto&lt;/CODE&gt;... I don't know - perhaps a little.&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2013 08:36:27 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2013-10-08T08:36:27Z</dc:date>
    <item>
      <title>log with key value pair or transforms.conf performance diffrence?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/log-with-key-value-pair-or-transforms-conf-performance-diffrence/m-p/86561#M17984</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;to gain index size I made the log format as below. I didn't use key value pair.&lt;/P&gt;

&lt;P&gt;20121101095842|192.168.1.2|KRQQQShcnQdRK8pLKTXC|20138494756382|I|PLAY|this the detailed info|1&lt;/P&gt;

&lt;P&gt;And in transforms.conf I defined the fields.&lt;BR /&gt;
DELIMS="|"&lt;BR /&gt;
FIELDS=time,sourceip,session_id,customer_id,channel,op_type,detail,result_code&lt;/P&gt;

&lt;P&gt;What if I made the log format like;&lt;/P&gt;

&lt;P&gt;time=20121101095842,sourceip=192.168.1.2,sessiın_id=KRQQQShcnQdRK8pLKTXC,customer_id=20138494756382,channel=I, op_type=PLAY, detail=this the detailed info|result_code=1&lt;/P&gt;

&lt;P&gt;Is there any performance diffrence between these two? a big diffrence in speed?&lt;/P&gt;

&lt;P&gt;thanks,&lt;/P&gt;

&lt;P&gt;a.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:55:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/log-with-key-value-pair-or-transforms-conf-performance-diffrence/m-p/86561#M17984</guid>
      <dc:creator>jazzythemartian</dc:creator>
      <dc:date>2020-09-28T14:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: log with key value pair or transforms.conf performance diffrence?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/log-with-key-value-pair-or-transforms-conf-performance-diffrence/m-p/86562#M17985</link>
      <description>&lt;P&gt;Well, as you've probably calculated, you'll save some license space - in this case like 40%. I cannot see any immediate downside to the approach - &lt;EM&gt;as long as you keep the number and order of fields constant&lt;/EM&gt;. With key=value pairs, that is not relevant, as the extraction takes place automatically. &lt;/P&gt;

&lt;P&gt;You should probably set &lt;CODE&gt;KV_MODE=none&lt;/CODE&gt; for this sourcetype in props.conf. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Whether a &lt;CODE&gt;REPORT&lt;/CODE&gt; is faster than &lt;CODE&gt;KV_MODE=auto&lt;/CODE&gt;... I don't know - perhaps a little.&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 08:36:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/log-with-key-value-pair-or-transforms-conf-performance-diffrence/m-p/86562#M17985</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-10-08T08:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: log with key value pair or transforms.conf performance diffrence?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/log-with-key-value-pair-or-transforms-conf-performance-diffrence/m-p/86563#M17986</link>
      <description>&lt;P&gt;REPORT with DELIMS is definitely faster if you turn off KV_MODE=auto for that type. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I'm not sure if "properly configured" REPORT with DELIMS alone is faster than key=value pairs, however.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 13:04:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/log-with-key-value-pair-or-transforms-conf-performance-diffrence/m-p/86563#M17986</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2013-10-08T13:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: log with key value pair or transforms.conf performance diffrence?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/log-with-key-value-pair-or-transforms-conf-performance-diffrence/m-p/86564#M17987</link>
      <description>&lt;P&gt;Naturally - having both is the worst &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Gut feeling says that REPORT + KV_MODE=none should be faster than KV_MODE=auto. Should be fewer, less complicated steps. Though for some searches the difference might not be even noticeable.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:55:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/log-with-key-value-pair-or-transforms-conf-performance-diffrence/m-p/86564#M17987</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2020-09-28T14:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: log with key value pair or transforms.conf performance diffrence?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/log-with-key-value-pair-or-transforms-conf-performance-diffrence/m-p/86565#M17988</link>
      <description>&lt;P&gt;I agree with your gut.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 14:00:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/log-with-key-value-pair-or-transforms-conf-performance-diffrence/m-p/86565#M17988</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2013-10-08T14:00:02Z</dc:date>
    </item>
  </channel>
</rss>

