<?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: Duplicate event with rotate log in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Duplicate-event-with-rotate-log/m-p/687844#M114577</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258808"&gt;@dungnq&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;are you using crcSalt = &amp;lt;SOURCE&amp;gt; in your inputs.conf?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 08:59:26 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-05-17T08:59:26Z</dc:date>
    <item>
      <title>Duplicate event with rotate log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicate-event-with-rotate-log/m-p/687843#M114576</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I encountered a problem when retrieving data from rotate log files: duplicate event.&lt;BR /&gt;For example: the event in file test.log.1 has been retrieved, when rotating to test.log.2 splunk retrieves it again.&lt;BR /&gt;How to configure splunk to only retrieve the latest events and not events that have been rotated to another file?&lt;BR /&gt;=====&lt;BR /&gt;Log4j App information:&lt;BR /&gt;log4j.appender.file.File=test.log&lt;BR /&gt;log4j.appender.file.MaxFileSize=10000KB&lt;BR /&gt;log4j.appender.file.MaxBackupIndex=99&lt;BR /&gt;=====&lt;BR /&gt;Splunk inputs.conf information&lt;BR /&gt;[monitor:///opt/IBM/WebSphere/AppServer/profiles/APP/test.log*]&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 08:43:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicate-event-with-rotate-log/m-p/687843#M114576</guid>
      <dc:creator>dungnq</dc:creator>
      <dc:date>2024-05-17T08:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate event with rotate log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicate-event-with-rotate-log/m-p/687844#M114577</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258808"&gt;@dungnq&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;are you using crcSalt = &amp;lt;SOURCE&amp;gt; in your inputs.conf?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 08:59:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicate-event-with-rotate-log/m-p/687844#M114577</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-05-17T08:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate event with rotate log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicate-event-with-rotate-log/m-p/687846#M114578</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;,&lt;BR /&gt;Thank you for your response. Currently I have configured the crcSalt parameter on the inputs.conf file&lt;BR /&gt;----&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[monitor:///opt/IBM/WebSphere/AppServer/profiles/APP/test.log*]
index = app
sourcetype = tws:aws:testdev:app
disabled = false
crcSalt = &amp;lt;SOURCE&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 17 May 2024 09:34:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicate-event-with-rotate-log/m-p/687846#M114578</guid>
      <dc:creator>dungnq</dc:creator>
      <dc:date>2024-05-17T09:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate event with rotate log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicate-event-with-rotate-log/m-p/687849#M114579</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258808"&gt;@dungnq&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;is it mandatory for your ingestion?&lt;/P&gt;&lt;P&gt;this is the reason for the double ingestion: logs arrive from different files.&lt;/P&gt;&lt;P&gt;Without crcSalt = &amp;lt;SOURCE&amp;gt;, Splunk doesn't index twice a log.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 09:35:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicate-event-with-rotate-log/m-p/687849#M114579</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-05-17T09:35:32Z</dc:date>
    </item>
  </channel>
</rss>

