<?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: How do I stop getting duplicate entries of JSON data from an API feed? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446527#M77671</link>
    <description>&lt;P&gt;peterm30, I would like to help you out but we have moved away from DUO and no longer use the DUO app in Splunk.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jan 2020 16:53:04 GMT</pubDate>
    <dc:creator>scottrunyon</dc:creator>
    <dc:date>2020-01-17T16:53:04Z</dc:date>
    <item>
      <title>How do I stop getting duplicate entries of JSON data from an API feed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446518#M77662</link>
      <description>&lt;P&gt;I installed the Duo Security App that uses the API to download events in the JSON format.  The data is collected and when I perform a search,  the events look correct but the data in fields is doubled.  Looking through Answers, there are several responses that suggest that props.conf  be modified on the UF (adding KV_MODE = none) to prevent both index time extractions and search time extractions.  Since the data is not be forwarded, which props.conf  do I need to modify?  I put KV_MODE = none in props.conf under the apps\duo_splunkapp\local but there was no change.  &lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:43:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446518#M77662</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2020-09-30T01:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I stop getting duplicate entries of JSON data from an API feed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446519#M77663</link>
      <description>&lt;P&gt;Did you add that in props.conf on your indexer or search head ? It should be on the search head.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 13:37:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446519#M77663</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-08-14T13:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I stop getting duplicate entries of JSON data from an API feed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446520#M77664</link>
      <description>&lt;P&gt;I have a single instance.  &lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 14:13:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446520#M77664</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2019-08-14T14:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I stop getting duplicate entries of JSON data from an API feed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446521#M77665</link>
      <description>&lt;P&gt;In that case make sure &lt;CODE&gt;INDEXED_EXTRACTIONS=JSON&lt;/CODE&gt; and &lt;CODE&gt;KV_MODE = json&lt;/CODE&gt; are both unset. &lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 14:36:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446521#M77665</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-08-14T14:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I stop getting duplicate entries of JSON data from an API feed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446522#M77666</link>
      <description>&lt;P&gt;David,  how would I unset INDEXED_EXTRACTIONS?  According to the props.conf doc, there is no "none" parameter only CSV|TSV|PSV|W3C|JSON|HEC.&lt;/P&gt;

&lt;P&gt;The props.conf in apps\duo_splunkapp\default is configured &lt;BR /&gt;
[source::duo]&lt;BR /&gt;
INDEXED_EXTRACTIONS = json&lt;BR /&gt;
KV_MODE = none&lt;BR /&gt;
TIME_PREFIX = timestamp&lt;BR /&gt;
TIME_FORMAT = %s&lt;/P&gt;

&lt;P&gt;The props.conf in apps\duo_splunkapp\local is configured &lt;BR /&gt;
[source::duo]&lt;BR /&gt;
AUTO_KV_JSON = false&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:43:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446522#M77666</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2020-09-30T01:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I stop getting duplicate entries of JSON data from an API feed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446523#M77667</link>
      <description>&lt;P&gt;Simply set it as follows : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::duo]
INDEXED_EXTRACTIONS =
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then it will be unset &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 18:07:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446523#M77667</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-08-14T18:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I stop getting duplicate entries of JSON data from an API feed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446524#M77668</link>
      <description>&lt;P&gt;As nothing is this easy in Splunk, I added the line with my fingers crossed.  Restarted Splunk and did a test.  &lt;/P&gt;

&lt;P&gt;Each field is now showing the correct number of values.  &lt;/P&gt;

&lt;P&gt;Thank you for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 18:26:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446524#M77668</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2019-08-14T18:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I stop getting duplicate entries of JSON data from an API feed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446525#M77669</link>
      <description>&lt;P&gt;hahah, yeah, with index time configs and search time configs things can get confusing very easily. I'm glad I could help ! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2019 18:33:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446525#M77669</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-08-14T18:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I stop getting duplicate entries of JSON data from an API feed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446526#M77670</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/162076"&gt;@scottrunyon&lt;/a&gt; - Can you post your full \local\props.conf and \default\props.conf ? We have the same problem, but when we unset indexed_extractions and kv_mode, we just get a giant chunk of raw json. I'm not sure where else our settings differ.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:40:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446526#M77670</guid>
      <dc:creator>peterm30</dc:creator>
      <dc:date>2020-09-30T03:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I stop getting duplicate entries of JSON data from an API feed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446527#M77671</link>
      <description>&lt;P&gt;peterm30, I would like to help you out but we have moved away from DUO and no longer use the DUO app in Splunk.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 16:53:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/446527#M77671</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2020-01-17T16:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I stop getting duplicate entries of JSON data from an API feed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/508389#M86503</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/39885"&gt;@peterm30&lt;/a&gt;&amp;nbsp;- Try adding SHOULD_LINEMERGE = false to your [source::duo] stanza as well.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 19:45:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/508389#M86503</guid>
      <dc:creator>Mradyfist</dc:creator>
      <dc:date>2020-07-09T19:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I stop getting duplicate entries of JSON data from an API feed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/523993#M88489</link>
      <description>&lt;P&gt;I'm a little late to the party, but for those with a distributed deployment using a Heavy Forwarder for collecting and forwarding the Duo logs, here is what I had to do to fix this issue:&lt;BR /&gt;&lt;BR /&gt;I don't have the Duo app on the indexers.&lt;BR /&gt;On the heavy forward, I kept the default configurations in props.conf.&lt;BR /&gt;On the search head cluster in props.conf, I set:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::duo]
KV_MODE = none
AUTO_KV_JSON = false&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;You could unset INDEXED_EXTRACTIONS but since these are dedicated search heads, it isn't really necessary.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That's it.&lt;/P&gt;&lt;P&gt;Note that if you want this to work outside of the Duo app context (i.e. not have the duplicate field extractions when searching Duo logs in the Search app) then you need to set the Duo apps permissions to global.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 20:18:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-stop-getting-duplicate-entries-of-JSON-data-from-an-API/m-p/523993#M88489</guid>
      <dc:creator>PBGrantham</dc:creator>
      <dc:date>2020-10-09T20:18:52Z</dc:date>
    </item>
  </channel>
</rss>

