<?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: Splunk Addon data-inputs duplicate events in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Addon-data-inputs-duplicate-events/m-p/495918#M60984</link>
    <description>&lt;P&gt;The issue was due to missing parameter in the REST API URL.&lt;/P&gt;

&lt;P&gt;When I add the checkpoint parameter in the REST API call (as below), I don't see duplicate events being pulled.&lt;BR /&gt;
&lt;A href="https://api.teachworks.com/v1/lessons?from_date%5Bgt%5D%3E01-01-2020"&gt;https://api.teachworks.com/v1/lessons?from_date[gt]&amp;gt;01-01-2020&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Reference:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/AddonBuilder/3.0.1/UserGuide/ConfigureDataCollection#Use_checkpoints_for_incremental_data_collection"&gt;https://docs.splunk.com/Documentation/AddonBuilder/3.0.1/UserGuide/ConfigureDataCollection#Use_checkpoints_for_incremental_data_collection&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 22 Mar 2020 02:40:49 GMT</pubDate>
    <dc:creator>jawaharas</dc:creator>
    <dc:date>2020-03-22T02:40:49Z</dc:date>
    <item>
      <title>Splunk Addon data-inputs duplicate events</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Addon-data-inputs-duplicate-events/m-p/495917#M60983</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have created an custom add-on to pull events from '&lt;A href="https://documenter.getpostman.com/view/10096149/SWTABydD?version=114c35a6-1ae2-4ae5-b72a-de25d005563f#8b58bff8-524a-4751-b28e-7faa12ab99fc"&gt;Teachworks&lt;/A&gt;' API.  But, as per my config (refer screenshot), duplicate records are created whenever the API call try pull the new events. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt; &lt;BR /&gt;
&lt;STRONG&gt;Run 1:&lt;/STRONG&gt; 5 records available. 5 records pulled into Splunk&lt;BR /&gt;
&lt;STRONG&gt;Run 2:&lt;/STRONG&gt; 5 records available. 0 records pulled into Splunk&lt;BR /&gt;
&lt;STRONG&gt;Run 3:&lt;/STRONG&gt; 6 records available. 6 records pulled into Splunk&lt;/P&gt;

&lt;P&gt;I expect only 1 record (new entry) to be pulled into Splunk during 'Run 3', not all 6 records. Any assistance will be helpful.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8550i2563EAD4F3BD62B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 06:04:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Addon-data-inputs-duplicate-events/m-p/495917#M60983</guid>
      <dc:creator>jawaharas</dc:creator>
      <dc:date>2020-03-15T06:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Addon data-inputs duplicate events</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Addon-data-inputs-duplicate-events/m-p/495918#M60984</link>
      <description>&lt;P&gt;The issue was due to missing parameter in the REST API URL.&lt;/P&gt;

&lt;P&gt;When I add the checkpoint parameter in the REST API call (as below), I don't see duplicate events being pulled.&lt;BR /&gt;
&lt;A href="https://api.teachworks.com/v1/lessons?from_date%5Bgt%5D%3E01-01-2020"&gt;https://api.teachworks.com/v1/lessons?from_date[gt]&amp;gt;01-01-2020&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Reference:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/AddonBuilder/3.0.1/UserGuide/ConfigureDataCollection#Use_checkpoints_for_incremental_data_collection"&gt;https://docs.splunk.com/Documentation/AddonBuilder/3.0.1/UserGuide/ConfigureDataCollection#Use_checkpoints_for_incremental_data_collection&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2020 02:40:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Addon-data-inputs-duplicate-events/m-p/495918#M60984</guid>
      <dc:creator>jawaharas</dc:creator>
      <dc:date>2020-03-22T02:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Addon data-inputs duplicate events</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Addon-data-inputs-duplicate-events/m-p/584366#M76067</link>
      <description>&lt;P&gt;Hi jawaharas,&lt;/P&gt;&lt;P&gt;We are facing the same issue with different app which we are using. using rest API call we are trying to pull the data but whenever the API calls the entire file content will be get read and indexed. Due to we are indexed lots of duplicate data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help us with how and where you set the check point to avoid duplicating the data to index ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 18:33:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Addon-data-inputs-duplicate-events/m-p/584366#M76067</guid>
      <dc:creator>garunkumar0506</dc:creator>
      <dc:date>2022-02-09T18:33:21Z</dc:date>
    </item>
  </channel>
</rss>

