<?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 to stop getting duplicate events from WindowsUpdateLog? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486357#M83275</link>
    <description>&lt;P&gt;For the record I've also tried using the setting &lt;CODE&gt;ignoreOlderThan=1h&lt;/CODE&gt;, but it has no effect. I will try using another inputs.conf setting &lt;CODE&gt;followTail=1&lt;/CODE&gt;. It's kind of a hacky solution, but if it stops duplicate entries I'm happy.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2019 14:13:08 GMT</pubDate>
    <dc:creator>hettervik</dc:creator>
    <dc:date>2019-11-25T14:13:08Z</dc:date>
    <item>
      <title>How to stop getting duplicate events from WindowsUpdateLog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486352#M83270</link>
      <description>&lt;P&gt;Hi. I have a problem that I'm getting duplicate events from  &lt;CODE&gt;WindowsUpdate.log&lt;/CODE&gt;. I'm pretty sure it's related to the following message I'm getting in the internal logs  &lt;CODE&gt;Logfile truncated while open, original pathname="C:/winupdate/blabla", will begin reading from start&lt;/CODE&gt;. Though, if the logfile really was truncated (all the data in the file deleted), then I wouldn't get duplicate events. It seems to me that Splunk only "thinks" that the log file was truncated, but in reality it's not.&lt;/P&gt;

&lt;P&gt;Can anyone explain to me how this "truncating" of the WindowsUpdateLog works, and why it can cause duplicate events in Splunk? Also, if someone could offer a possible solution, that would be nice as well!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 11:57:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486352#M83270</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2019-11-18T11:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop getting duplicate events from WindowsUpdateLog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486353#M83271</link>
      <description>&lt;P&gt;hi @hettervi,&lt;/P&gt;

&lt;P&gt;This is an informational message, isn't it  ? Doesn't seem like an error to me. It only means that the log file got rotated, if you're getting duplicates it could be because the file is generated with the same data again. &lt;/P&gt;

&lt;P&gt;Is there any timestamp in the file or anything that makes the events unique ? You could try to play around with &lt;CODE&gt;initCrcLength&lt;/CODE&gt; and &lt;CODE&gt;crcSalt&lt;/CODE&gt;to avoid having the file indexed over and over&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 12:06:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486353#M83271</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-11-18T12:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop getting duplicate events from WindowsUpdateLog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486354#M83272</link>
      <description>&lt;P&gt;Yes. It's not an error message per se. It doesn't necessarily mean that the windowsupdatelog got rotated, and that's the problem I think. For some reason, instead of rotating the logs in a normal fashion, Windows truncate the log file and starts writing it over again, if I understand correctly, but I'm not sure. Though it doesn't make any sense that Windows would generate the same file over again with the same data.&lt;/P&gt;

&lt;P&gt;I have timestamps, and they are not unique. That is, I'm positive that the events I'm getting are in fact duplicate events from the same machine. Same timestamp, same everything, except indextime of course.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 08:30:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486354#M83272</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2019-11-19T08:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop getting duplicate events from WindowsUpdateLog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486355#M83273</link>
      <description>&lt;P&gt;so from what you're saying it could be that since Windows is modifying something in the header of the file the rest of the file is getting indexes all over again.&lt;/P&gt;

&lt;P&gt;Could you please share your inputs configuration ?  &lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 08:39:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486355#M83273</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-11-19T08:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop getting duplicate events from WindowsUpdateLog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486356#M83274</link>
      <description>&lt;P&gt;I don't have the input configuration available right now unfortunately, but it's straight from the official Windows TA from Splunk. Is uses a normal monitoring stanza for tailing the log. I think the path is &lt;CODE&gt;C:\Windows\Logs\WindowsUpdate&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 20:12:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486356#M83274</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2019-11-19T20:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop getting duplicate events from WindowsUpdateLog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486357#M83275</link>
      <description>&lt;P&gt;For the record I've also tried using the setting &lt;CODE&gt;ignoreOlderThan=1h&lt;/CODE&gt;, but it has no effect. I will try using another inputs.conf setting &lt;CODE&gt;followTail=1&lt;/CODE&gt;. It's kind of a hacky solution, but if it stops duplicate entries I'm happy.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 14:13:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/486357#M83275</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2019-11-25T14:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop getting duplicate events from WindowsUpdateLog?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/611768#M105918</link>
      <description>&lt;P&gt;Seems like this problem has been addressed in newer versions of the supported Splunk Windows TA.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/AddOns/released/Windows/Configuration#Configure_Windows_Update_Logs_in_inputs.conf" target="_blank"&gt;https://docs.splunk.com/Documentation/AddOns/released/Windows/Configuration#Configure_Windows_Update_Logs_in_inputs.conf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 13:51:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-getting-duplicate-events-from-WindowsUpdateLog/m-p/611768#M105918</guid>
      <dc:creator>hettervik</dc:creator>
      <dc:date>2022-09-02T13:51:26Z</dc:date>
    </item>
  </channel>
</rss>

