<?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: WinEventLog - ignoreOlderThan = 2d in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-ignoreOlderThan-2d/m-p/87080#M18075</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;unfortunately that is not a supported option for Windows Event logs, since they are not read like normal files. There is a similar option that might work for you - &lt;CODE&gt;current_only=1&lt;/CODE&gt; - which skips ALL old events, and only read from this point in time and onwards. &lt;/P&gt;

&lt;P&gt;See the windows-specific inputs.conf directives (quite far down the page);&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jun 2012 08:52:52 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2012-06-29T08:52:52Z</dc:date>
    <item>
      <title>WinEventLog - ignoreOlderThan = 2d</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-ignoreOlderThan-2d/m-p/87079#M18074</link>
      <description>&lt;P&gt;We are updating the inputs.conf, with config so we can monitor the event logs as well as IIS logs.&lt;/P&gt;

&lt;P&gt;With the IIS logs we have used 'ignoreOlderThan = 2d' so we don't pull back too much data in one go.&lt;BR /&gt;
When i've tried this with the Event logs...&lt;/P&gt;

&lt;P&gt;WinEventLog:Application]&lt;BR /&gt;
ignoreOlderThan = 2d&lt;/P&gt;

&lt;P&gt;I'm getting....&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;C:\Program Files\SplunkUniversalForwarder\bin&amp;gt;splunk btool check
Possible typo in stanza [WinEventLog:Application] in C:\Program Files\SplunkUniv
ersalForwarder\etc\apps\is-auto-web01\local\inputs.conf, line 16: ignoreOlderTha
n  =  2d
Possible typo in stanza [WinEventLog:Security] in C:\Program Files\SplunkUnivers
alForwarder\etc\apps\is-auto-web01\local\inputs.conf, line 21: ignoreOlderThan
=  2d
Possible typo in stanza [WinEventLog:System] in C:\Program Files\SplunkUniversal
Forwarder\etc\apps\is-auto-web01\local\inputs.conf, line 26: ignoreOlderThan  =
2d
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Jun 2012 08:12:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-ignoreOlderThan-2d/m-p/87079#M18074</guid>
      <dc:creator>karlosbh</dc:creator>
      <dc:date>2012-06-29T08:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: WinEventLog - ignoreOlderThan = 2d</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-ignoreOlderThan-2d/m-p/87080#M18075</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;unfortunately that is not a supported option for Windows Event logs, since they are not read like normal files. There is a similar option that might work for you - &lt;CODE&gt;current_only=1&lt;/CODE&gt; - which skips ALL old events, and only read from this point in time and onwards. &lt;/P&gt;

&lt;P&gt;See the windows-specific inputs.conf directives (quite far down the page);&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2012 08:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-ignoreOlderThan-2d/m-p/87080#M18075</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-06-29T08:52:52Z</dc:date>
    </item>
  </channel>
</rss>

