<?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: Why are my json fields extracted twice? (redux) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-json-fields-extracted-twice-redux/m-p/130208#M35454</link>
    <description>&lt;P&gt;Not sure if you still have this problem, but the answer to this problem is here&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/301893/why-are-several-json-fields-getting-extracted-more.html"&gt;https://answers.splunk.com/answers/301893/why-are-several-json-fields-getting-extracted-more.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Sep 2015 20:34:55 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2015-09-24T20:34:55Z</dc:date>
    <item>
      <title>Why are my json fields extracted twice? (redux)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-json-fields-extracted-twice-redux/m-p/130207#M35453</link>
      <description>&lt;P&gt;I came across &lt;A href="http://answers.splunk.com/answers/174939/why-are-my-json-fields-extracted-twice.html" target="_blank"&gt;http://answers.splunk.com/answers/174939/why-are-my-json-fields-extracted-twice.html&lt;/A&gt; which seemed to describe perfectly the issue, but I've been unable to resolve - as far as I can see, KV_MODE is already set to none.&lt;/P&gt;

&lt;P&gt;On our collectors, we have an app with props.conf as follows:&lt;/P&gt;

&lt;P&gt;[fundapps_logs]&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
TIMESTAMP_FIELDS = datetime&lt;BR /&gt;
TIME_FORMAT = %m-%d-%Y %H:%M:%S.%l&lt;BR /&gt;
INDEXED_EXTRACTIONS = json&lt;BR /&gt;
TRUNCATE = 20000&lt;BR /&gt;
KV_MODE = none&lt;/P&gt;

&lt;P&gt;however, we see two sets of fields in results when we search (but not for the built in splunk fields). If I then do&lt;/P&gt;

&lt;P&gt;sourcetype=fundapps_logs | extract&lt;/P&gt;

&lt;P&gt;I then see &lt;EM&gt;three&lt;/EM&gt; sets of fields in results. I'm guessing I've got a config issue somewhere. &lt;/P&gt;

&lt;P&gt;I've tried adding the same app and props.config to the splunk search/web head (everything runs on a single machine), and restarting but it doesn't appear to have any impact.&lt;/P&gt;

&lt;P&gt;Any suggestion? &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:05:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-json-fields-extracted-twice-redux/m-p/130207#M35453</guid>
      <dc:creator>jamescrowley</dc:creator>
      <dc:date>2020-09-28T20:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my json fields extracted twice? (redux)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-json-fields-extracted-twice-redux/m-p/130208#M35454</link>
      <description>&lt;P&gt;Not sure if you still have this problem, but the answer to this problem is here&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/301893/why-are-several-json-fields-getting-extracted-more.html"&gt;https://answers.splunk.com/answers/301893/why-are-several-json-fields-getting-extracted-more.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 20:34:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-json-fields-extracted-twice-redux/m-p/130208#M35454</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-09-24T20:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why are my json fields extracted twice? (redux)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-my-json-fields-extracted-twice-redux/m-p/130209#M35455</link>
      <description>&lt;P&gt;Did you deploy this to your Indexers and after that did you restart all Splunk instances on the Indexers?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2015 16:50:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-my-json-fields-extracted-twice-redux/m-p/130209#M35455</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-06T16:50:07Z</dc:date>
    </item>
  </channel>
</rss>

