<?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 best logging format for key=value when one value is JSON? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-logging-format-for-key-value-when-one-value-is/m-p/327475#M60807</link>
    <description>&lt;P&gt;I would say &lt;CODE&gt;KV_MODE=auto&lt;/CODE&gt; should be fine. You can create field extraction for JSON data using &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;Interactive Field Extractor&lt;/A&gt; using regular expression.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 20:09:55 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-04-11T20:09:55Z</dc:date>
    <item>
      <title>What is the best logging format for key=value when one value is JSON?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-logging-format-for-key-value-when-one-value-is/m-p/327474#M60806</link>
      <description>&lt;P&gt;Hello -- I am logging incoming HTTP requests to my logs, what would be the best format for Splunk to pick them up in if one of the values has JSON?  Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;user=jsmith method=POST path=/a/path payload="{some: "thing"}"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;user=jsmith method=POST path=/a/path payload={some: "thing"}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or some other way?  Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 15:51:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-logging-format-for-key-value-when-one-value-is/m-p/327474#M60806</guid>
      <dc:creator>hf2015</dc:creator>
      <dc:date>2018-04-11T15:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best logging format for key=value when one value is JSON?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-logging-format-for-key-value-when-one-value-is/m-p/327475#M60807</link>
      <description>&lt;P&gt;I would say &lt;CODE&gt;KV_MODE=auto&lt;/CODE&gt; should be fine. You can create field extraction for JSON data using &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;Interactive Field Extractor&lt;/A&gt; using regular expression.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 20:09:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-logging-format-for-key-value-when-one-value-is/m-p/327475#M60807</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-11T20:09:55Z</dc:date>
    </item>
  </channel>
</rss>

