<?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: AD Universal Forwarder stops forwarding in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283100#M54130</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;sorry for the late answer and thanks for your comments so far. Yes, we are using Windows Server 2012.&lt;/P&gt;

&lt;P&gt;We have not modified the limits.conf yet, but we will try that when we run into this issue again. Right now, we have completely uninstalled the 6.5 forwarder on the root DC and installed a 6.4 forwarder on another DC and there are no issues right now (without tuning any settings in limits.conf).&lt;/P&gt;

&lt;P&gt;We have only modified the checkpointInterval because it was suggested in another thread. With our working installation, it is back to the standard value now.&lt;/P&gt;

&lt;P&gt;However, thanks for the suggestions. With our root DC getting a fresh installation next week (which gets more events than the other DC), we will try to tune the settings in limits.conf if we run into those problems again.&lt;/P&gt;

&lt;P&gt;Automatic eventlog backups should be no problem, they aren't running that often, as far as I've seen.&lt;/P&gt;

&lt;P&gt;I will post an update next week if the problems are gone then.&lt;/P&gt;

&lt;P&gt;Edit: And yes, the forwarder stops completely to collect eventlog data. It resends them as soon as it gets restarted.&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2017 11:56:34 GMT</pubDate>
    <dc:creator>skalliger</dc:creator>
    <dc:date>2017-02-10T11:56:34Z</dc:date>
    <item>
      <title>AD Universal Forwarder stops forwarding</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283096#M54126</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;

&lt;P&gt;we ran in some problem with our Universal Forwarder (version 6.5.0.) which collects event logs from our root DC in the testing environment.&lt;BR /&gt;
So, we had several issues, but limited those to one issue left - our forwarder stops forwarding Windows Security eventlog data. _internal is coming just fine.&lt;/P&gt;

&lt;P&gt;We have read through many threads here and found no solution for this.&lt;BR /&gt;
First of all, the latest inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Security]
disabled = 0
index = t_active_directory_60
sourcetype = windows_security
batch_size = 20
start_from = newest
evt_dc_name = xyz
evt_resolve_ad_obj = 0
checkpointInterval = 60
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;We tried different things here. Setting &lt;STRONG&gt;batch_size&lt;/STRONG&gt; makes no difference. Setting &lt;STRONG&gt;evt_resolve_ad_obj&lt;/STRONG&gt; to &lt;STRONG&gt;1&lt;/STRONG&gt; sends no data at all (no _internal either).&lt;/P&gt;

&lt;P&gt;Then, today, we finally got an interesting error we've never seen before:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-09-2017 13:42:14.676 +0100 ERROR ExecProcessor - message from ""C:\Program Files\SplunkUniversalForwarder\bin\splunk-winevtlog.exe"" splunk-winevtlog - WinEventLogChannel::queryEvtChannel: Unable to set seek position to the given bookmark
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And this ones keeps coming up every time we restart the forwarder:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-09-2017 13:41:54.231 +0100 ERROR Metrics - Metric with name thruput:idxSummary already registered
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, we saw the following warning the first time today:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;02-09-2017 13:44:14.197 +0100 WARN TcpOutputProc - Pipeline data does not have indexKey. [_path] = C:\Program Files\SplunkUniversalForwarder\bin\splunk-winevtlog.exe\n[_raw] = \n[_stmid] = Pv7LDc2XW3JCugFC\n[MetaData:Source] = source::WinEventLog\n[MetaData:Host] = host::XYZ\n[MetaData:Sourcetype] = sourcetype::WinEventLog\n[_done] = _done\n[_conf] = source::WinEventLog|host::XYZ|WinEventLog|\n
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does anyone have any ideas on this one?&lt;/P&gt;

&lt;P&gt;Our outputs.conf for reference:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
indexAndForward = false
defaultGroup = HEAVY_FORWARDER

[tcpout:HEAVY_FORWARDER]
server = HEAVY_FORWARDER:9997
sendCookedData = true
sslPassword = ...
clientCert = C:\Program Files\SplunkUniversalForwarder\etc\auth\abc.pem
sslRootCAPath = C:\Program Files\SplunkUniversalForwarder\etc\auth\abc.pem
sslVerifyServerCert = true
useClientSSLCompression = true
useACK = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, a funny side note: &lt;STRONG&gt;useACK&lt;/STRONG&gt; should have no affect here. But as soon as we set &lt;STRONG&gt;useACK&lt;/STRONG&gt; to &lt;STRONG&gt;false&lt;/STRONG&gt;, we get duplicate Windows Security events (same record numbers three times). Setting &lt;STRONG&gt;sendCookedData&lt;/STRONG&gt; to false also sends &lt;STRONG&gt;no data at all.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Any help is appreciated.&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:45:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283096#M54126</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2020-09-29T12:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: AD Universal Forwarder stops forwarding</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283097#M54127</link>
      <description>&lt;P&gt;is it possible the AD logs are rolling off the server before Splunk reads them fully? What is the log retention like on your test AD?&lt;/P&gt;

&lt;P&gt;Have you tuned the thruput limits on the forwarder? Generally you will need to ensure the forwarder can keep up with a busy machine. Make sure to up this value in limits.conf, UF defaults to 256KB, you need something higher on AD for sure maybe start with 1024?:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[thruput]
maxKBps = &amp;lt;integer&amp;gt;
* If specified and not zero, this limits the speed through the thruput processor 
  in the ingestion pipeline to the specified rate in kilobytes per second.
* To control the CPU load while indexing, use this to throttle the number of
  events this indexer processes to the rate (in KBps) you specify.
* Note that this limit will be applied per ingestion pipeline. For more information 
  about multiple ingestion pipelines see parallelIngestionPipelines in the
  server.conf.spec file.
* With N parallel ingestion pipelines the thruput limit across all of the ingestion 
  pipelines will be N * maxKBps.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, I see you changed the default checkpoint interval, what was the idea behind that?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;checkpointInterval = &amp;lt;integer&amp;gt;
* How often, in seconds, that the Windows Event Log input saves a checkpoint.
* Checkpoints store the eventID of acquired events. This lets the input
  continue monitoring at the correct event after a shutdown or outage.
* The default value is 5.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, when you say it stops. Does it stop completely, or is there gaps in the collection?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 14:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283097#M54127</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-02-09T14:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: AD Universal Forwarder stops forwarding</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283098#M54128</link>
      <description>&lt;P&gt;which version of windows AD is running on ? Hope it is Windows2012+ as 2008 support is gone for this version ?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 15:19:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283098#M54128</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2017-02-09T15:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: AD Universal Forwarder stops forwarding</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283099#M54129</link>
      <description>&lt;P&gt;I wouldn't change the sourcetype in the UF as the correct sourcetype will be done the Windows TA in your indexer&lt;BR /&gt;
can u have a try like.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Security]
disabled = 0
start_from = oldest
current_only = 0
evt_resolve_ad_obj = 1
checkpointInterval = 10
blacklist1 = EventCode="4662" Message="Object Type:\s+(?!groupPolicyContainer)"
blacklist2 = EventCode="566" Message="Object Type:\s+(?!groupPolicyContainer)"
index = t_active_directory_60
renderXml=false
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Feb 2017 15:25:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283099#M54129</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2017-02-09T15:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: AD Universal Forwarder stops forwarding</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283100#M54130</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;sorry for the late answer and thanks for your comments so far. Yes, we are using Windows Server 2012.&lt;/P&gt;

&lt;P&gt;We have not modified the limits.conf yet, but we will try that when we run into this issue again. Right now, we have completely uninstalled the 6.5 forwarder on the root DC and installed a 6.4 forwarder on another DC and there are no issues right now (without tuning any settings in limits.conf).&lt;/P&gt;

&lt;P&gt;We have only modified the checkpointInterval because it was suggested in another thread. With our working installation, it is back to the standard value now.&lt;/P&gt;

&lt;P&gt;However, thanks for the suggestions. With our root DC getting a fresh installation next week (which gets more events than the other DC), we will try to tune the settings in limits.conf if we run into those problems again.&lt;/P&gt;

&lt;P&gt;Automatic eventlog backups should be no problem, they aren't running that often, as far as I've seen.&lt;/P&gt;

&lt;P&gt;I will post an update next week if the problems are gone then.&lt;/P&gt;

&lt;P&gt;Edit: And yes, the forwarder stops completely to collect eventlog data. It resends them as soon as it gets restarted.&lt;/P&gt;

&lt;P&gt;Skalli&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 11:56:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283100#M54130</guid>
      <dc:creator>skalliger</dc:creator>
      <dc:date>2017-02-10T11:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: AD Universal Forwarder stops forwarding</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283101#M54131</link>
      <description>&lt;P&gt;sure. waiting for your output&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 20:21:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283101#M54131</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2017-02-11T20:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: AD Universal Forwarder stops forwarding</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283102#M54132</link>
      <description>&lt;P&gt;We're seeing this problem for a few of our servers in remote locations. Did you manage to resolve this with 6.5?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 13:47:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283102#M54132</guid>
      <dc:creator>reedmohn</dc:creator>
      <dc:date>2017-03-07T13:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: AD Universal Forwarder stops forwarding</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283103#M54133</link>
      <description>&lt;P&gt;I have had a similar issue and found the following had to be done...&lt;BR /&gt;
Increase the TCP input queue on the indexers. &lt;BR /&gt;
Increase the thruput setting on the UF &lt;BR /&gt;
Increase the TCP output queue on the UF. &lt;BR /&gt;
Check for any other blocked queues in your deployment.&lt;BR /&gt;
Check the _indextime  vs _time for events and make sure this is a steady number of seconds and is small.&lt;/P&gt;

&lt;P&gt;You will also have to make sure you have the performance in your DC. If the DC is virtual, look a the CPU COStop value to see if you are really getting CPU time scheduled for your system.&lt;/P&gt;

&lt;P&gt;I asked our Splunk REP if parallelIngestionPipelines would help in this case since all of the events are coming from one source Wineventlog://Security. No answer yet.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 20:02:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283103#M54133</guid>
      <dc:creator>bstimely</dc:creator>
      <dc:date>2019-01-11T20:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: AD Universal Forwarder stops forwarding</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283104#M54134</link>
      <description>&lt;P&gt;It looks to me like there is a zombie splunk process running.  I would stop splunk in the process manager, then go through and manually kill any splunk processes that you find in the task manager, then restart splunk process.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 20:41:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/AD-Universal-Forwarder-stops-forwarding/m-p/283104#M54134</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-01-11T20:41:25Z</dc:date>
    </item>
  </channel>
</rss>

