<?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 am I seeing duplicate events in Splunk with my current configuration? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240548#M46746</link>
    <description>&lt;P&gt;This I could find:&lt;/P&gt;

&lt;P&gt;CHECK_METHOD = [endpoint_md5|entire_md5|modtime]&lt;BR /&gt;
 * Set CHECK_METHOD endpoint_md5 to have Splunk checksum of the first and last 256 bytes of a&lt;BR /&gt;
  file. When it finds matches, Splunk lists the file as already indexed and indexes only new&lt;BR /&gt;
  data, or ignores it if there is no new data.&lt;BR /&gt;
 * Set CHECK_METHOD = entire_md5 to use the checksum of the entire file.&lt;BR /&gt;
 * Set CHECK_METHOD = modtime to check only the modification time of the file.&lt;BR /&gt;
 * Settings other than endpoint_md5 cause Splunk to index the entire file for each detected&lt;BR /&gt;
  change.&lt;BR /&gt;
 * &lt;STRONG&gt;Defaults to endpoint_md5&lt;/STRONG&gt;.&lt;BR /&gt;
 * Important: this option is only valid for [source::] stanzas.  &lt;/P&gt;

&lt;P&gt;And also I could see below warning message on my forwarders:&lt;/P&gt;

&lt;P&gt;WARN  TcpOutputProc - Read operation timed out expecting ACK from indexer in 300 seconds.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 08:29:38 GMT</pubDate>
    <dc:creator>bharathkumarnec</dc:creator>
    <dc:date>2020-09-29T08:29:38Z</dc:date>
    <item>
      <title>Why am I seeing duplicate events in Splunk with my current configuration?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240543#M46741</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am facing a problem with duplicate events in splunk, below is my configuration:&lt;/P&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::.../abc.out]
TRANSFORMS-sourcetype1 = force_abc_sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[force_abc_sourcetype]
DEST_KEY = MetaData:Sourcetype
REGEX = .*
FORMAT = sourcetype::abc
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///123/*.out] -- "here *.out includes abc.out"
index = abc
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Do I need to change monitor file from *.out to abc.out to fix this issue? or anything else that I need to look for?&lt;/P&gt;

&lt;P&gt;Kindly provide your inputs...&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 08:46:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240543#M46741</guid>
      <dc:creator>bharathkumarnec</dc:creator>
      <dc:date>2016-01-21T08:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I seeing duplicate events in Splunk with my current configuration?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240544#M46742</link>
      <description>&lt;P&gt;Didn't understand what are the inputs you get duplicate from&lt;/P&gt;

&lt;P&gt;Do you get duplicate events only from this input? or you have more input configurations that might input this "abc.out" file?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 09:16:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240544#M46742</guid>
      <dc:creator>ehudb</dc:creator>
      <dc:date>2016-01-21T09:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I seeing duplicate events in Splunk with my current configuration?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240545#M46743</link>
      <description>&lt;P&gt;try with  &lt;CODE&gt;CHECK_METHOD = endpoint_md5&lt;/CODE&gt;  in your stanza of props.conf&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 10:05:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240545#M46743</guid>
      <dc:creator>fdi01</dc:creator>
      <dc:date>2016-01-21T10:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I seeing duplicate events in Splunk with my current configuration?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240546#M46744</link>
      <description>&lt;P&gt;Hi fdi01,&lt;/P&gt;

&lt;P&gt;Thanks for your reply.&lt;/P&gt;

&lt;P&gt;Looks like default option is endpoint_md5, we need to explicitly mention this in props??&lt;/P&gt;

&lt;P&gt;and my abc.out file is rotated based on size, if it reaches some size it will rotate and new file will get created.&lt;/P&gt;

&lt;P&gt;Here is my error message:&lt;/P&gt;

&lt;P&gt;WARN  TcpOutputProc - Possible duplication of events with channel=source::/123/.out|host::xyz|out-2|571, streamId=0, offset=0 on host=indexer:9997&lt;/P&gt;

&lt;P&gt;what is out-2 in the above warning, if it is sourcetype, sourcetype given as per above configuration file is abc, then why is it showing out-2??&lt;/P&gt;

&lt;P&gt;I am using indexer acknowledgement using useAck=true.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 10:36:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240546#M46744</guid>
      <dc:creator>bharathkumarnec</dc:creator>
      <dc:date>2016-01-21T10:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I seeing duplicate events in Splunk with my current configuration?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240547#M46745</link>
      <description>&lt;P&gt;by default, &lt;CODE&gt;CHECK_METHOD= modtime.&lt;/CODE&gt;&lt;BR /&gt;
The workaround is to set priority higher than the default stanza using source stanza in props.conf (If you use host or sourcetype in the props.conf will not work), specify CHECK_METHOD so it will not use modtime.&lt;/P&gt;

&lt;P&gt;For example:&lt;BR /&gt;
    [source::.../abc.out]&lt;BR /&gt;
    sourcetype=log_in_abc.out&lt;BR /&gt;
    CHECK_METHOD = endpoint_md5&lt;BR /&gt;
    priority = 10 &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:31:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240547#M46745</guid>
      <dc:creator>fdi01</dc:creator>
      <dc:date>2020-09-29T08:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I seeing duplicate events in Splunk with my current configuration?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240548#M46746</link>
      <description>&lt;P&gt;This I could find:&lt;/P&gt;

&lt;P&gt;CHECK_METHOD = [endpoint_md5|entire_md5|modtime]&lt;BR /&gt;
 * Set CHECK_METHOD endpoint_md5 to have Splunk checksum of the first and last 256 bytes of a&lt;BR /&gt;
  file. When it finds matches, Splunk lists the file as already indexed and indexes only new&lt;BR /&gt;
  data, or ignores it if there is no new data.&lt;BR /&gt;
 * Set CHECK_METHOD = entire_md5 to use the checksum of the entire file.&lt;BR /&gt;
 * Set CHECK_METHOD = modtime to check only the modification time of the file.&lt;BR /&gt;
 * Settings other than endpoint_md5 cause Splunk to index the entire file for each detected&lt;BR /&gt;
  change.&lt;BR /&gt;
 * &lt;STRONG&gt;Defaults to endpoint_md5&lt;/STRONG&gt;.&lt;BR /&gt;
 * Important: this option is only valid for [source::] stanzas.  &lt;/P&gt;

&lt;P&gt;And also I could see below warning message on my forwarders:&lt;/P&gt;

&lt;P&gt;WARN  TcpOutputProc - Read operation timed out expecting ACK from indexer in 300 seconds.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:29:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240548#M46746</guid>
      <dc:creator>bharathkumarnec</dc:creator>
      <dc:date>2020-09-29T08:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I seeing duplicate events in Splunk with my current configuration?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240549#M46747</link>
      <description>&lt;P&gt;in your /opt/splunk/etc/system/default/props.conf  the &lt;CODE&gt;Defaults CHECK_METHOD = modtime&lt;/CODE&gt; by in manuel it is &lt;CODE&gt;CHECK_METHOD = endpoint_md5.&lt;/CODE&gt;&lt;BR /&gt;
note: erase all data already indexed and resumes a new index on the same indexed or a new index. with the new configuration props.conf&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 12:27:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-seeing-duplicate-events-in-Splunk-with-my-current/m-p/240549#M46747</guid>
      <dc:creator>fdi01</dc:creator>
      <dc:date>2016-01-21T12:27:17Z</dc:date>
    </item>
  </channel>
</rss>

