<?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 Windows Server 2008R2 Splunk server not receiving Windows Event Logs from a Windows 7 PC with Universal Forwarder installed in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Server-2008R2-Splunk-server-not-receiving-Windows-Event/m-p/234207#M45628</link>
    <description>&lt;P&gt;I initially tested the Splunk Server on a Windows 7 machine and installed the Universal Forwarder on another WIndows 7 machine.&lt;BR /&gt;
This worked with no issues other than having to run sfc /scannow to get the Forwarder installed.&lt;/P&gt;

&lt;P&gt;Now, I want to set up a permanent server on a Windows Server 2008R2 machine and am having issues. I am setting up the forwarder on the same Windows 7 machine I set up forwarding on before.&lt;/P&gt;

&lt;P&gt;As soon as I installed the forwarder, I see data appear under 'Search' on the server. However, the data never updates and stays stale at the time of install. I noticed an error on the PC about a registry leak and thought this was the cause. I fixed the corrupted user profile on the PC but still the issue occurred.&lt;/P&gt;

&lt;P&gt;I then looked at the splunkd.conf logs and noticed several TcpOut error informing the connection was refused. So, I added &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp://9997] 
connection_host = none
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to the inputs.conf.&lt;/P&gt;

&lt;P&gt;The "connection refused" errors are resolved but I still don't see updated data on the server.&lt;BR /&gt;
I then looked more here and saw that adding this into inputs.conf could help:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[script://$SPLUNK_HOME\bin\scripts\splunk-wmi.path]
disabled = 0

[WinEventLog://Application]
disabled = 0

[WinEventLog://Security]
disabled = 0

[WinEventLog://System]
disabled = 0

[WinEventLog://ForwardedEvents]
checkpointInterval = 5
current_only = 0
disabled = 0
start_from = oldest

[WinEventLog://Setup]
checkpointInterval = 5
current_only = 0
disabled = 0
start_from = oldest
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and also tried adding "wineventlog" to the Indexes on the server.&lt;BR /&gt;
Still, no good. &lt;/P&gt;

&lt;P&gt;I can telnet to the server so the connection seems to be working. &lt;BR /&gt;
TcpOutputProc is reporting this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11-21-2016 08:42:58.109 -0500 INFO  TcpOutputProc - Initializing connection for non-ssl forwarding to splunkserver:9997
11-21-2016 08:42:58.125 -0500 INFO  TcpOutputProc - tcpout group default-autolb-group using Auto load balanced forwarding
11-21-2016 08:42:58.125 -0500 INFO  TcpOutputProc - Group default-autolb-group initialized with maxQueueSize=512000 in bytes.
11-21-2016 08:42:58.921 -0500 INFO  TcpOutputProc - Connected to idx=10.5.1.181:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I see these warnings but not sure if they are relevant:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11-21-2016 08:41:54.532 -0500 WARN  ProcessRunner - Process with pid 2264 did not exit within a given grace period after being signaled to exit. Will have to forcibly terminate.
11-21-2016 08:42:55.348 -0500 WARN  AuditTrailManager - Private key file does not exist but is defined in audit.conf - no local event signing will take place. You can create auditTrail keys if necessary by running splunk createssl audit-keys
11-21-2016 08:42:55.847 -0500 INFO  LMTracker - Setting feature=ResetWarnings state=DISABLED_DUE_TO_LICENSE (featureStatus=2)
11-21-2016 08:42:58.063 -0500 WARN  PubSubMgr - Can't parse deployment server address from conf: ""
11-21-2016 08:42:58.281 -0500 WARN  UserManagerPro - Can't find [distributedSearch] stanza in distsearch.conf, using default authtoken HTTP timeouts
11-21-2016 08:42:58.655 -0500 WARN  X509Verify - X509 certificate (O=SplunkUser,CN=SplunkServerDefaultCert) should not be used, as it is issued by Splunk's own default Certificate Authority (CA). This puts your Splunk instance at very high-risk of the MITM attack. Either commercial-CA-signed or self-CA-signed certificates must be used; see: &amp;lt;http://docs.splunk.com/Documentation/Splunk/latest/Security/Howtoself-signcertificates&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The one that stands out to me the most is  11-21-2016 08:42:58.063 -0500 WARN  PubSubMgr - Can't parse deployment server address from conf: ""&lt;BR /&gt;
but would addressing this fix the problem?&lt;/P&gt;

&lt;P&gt;Is there something else that I have missed?&lt;/P&gt;</description>
    <pubDate>Mon, 21 Nov 2016 14:27:46 GMT</pubDate>
    <dc:creator>seeia</dc:creator>
    <dc:date>2016-11-21T14:27:46Z</dc:date>
    <item>
      <title>Windows Server 2008R2 Splunk server not receiving Windows Event Logs from a Windows 7 PC with Universal Forwarder installed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Server-2008R2-Splunk-server-not-receiving-Windows-Event/m-p/234207#M45628</link>
      <description>&lt;P&gt;I initially tested the Splunk Server on a Windows 7 machine and installed the Universal Forwarder on another WIndows 7 machine.&lt;BR /&gt;
This worked with no issues other than having to run sfc /scannow to get the Forwarder installed.&lt;/P&gt;

&lt;P&gt;Now, I want to set up a permanent server on a Windows Server 2008R2 machine and am having issues. I am setting up the forwarder on the same Windows 7 machine I set up forwarding on before.&lt;/P&gt;

&lt;P&gt;As soon as I installed the forwarder, I see data appear under 'Search' on the server. However, the data never updates and stays stale at the time of install. I noticed an error on the PC about a registry leak and thought this was the cause. I fixed the corrupted user profile on the PC but still the issue occurred.&lt;/P&gt;

&lt;P&gt;I then looked at the splunkd.conf logs and noticed several TcpOut error informing the connection was refused. So, I added &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp://9997] 
connection_host = none
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to the inputs.conf.&lt;/P&gt;

&lt;P&gt;The "connection refused" errors are resolved but I still don't see updated data on the server.&lt;BR /&gt;
I then looked more here and saw that adding this into inputs.conf could help:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[script://$SPLUNK_HOME\bin\scripts\splunk-wmi.path]
disabled = 0

[WinEventLog://Application]
disabled = 0

[WinEventLog://Security]
disabled = 0

[WinEventLog://System]
disabled = 0

[WinEventLog://ForwardedEvents]
checkpointInterval = 5
current_only = 0
disabled = 0
start_from = oldest

[WinEventLog://Setup]
checkpointInterval = 5
current_only = 0
disabled = 0
start_from = oldest
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and also tried adding "wineventlog" to the Indexes on the server.&lt;BR /&gt;
Still, no good. &lt;/P&gt;

&lt;P&gt;I can telnet to the server so the connection seems to be working. &lt;BR /&gt;
TcpOutputProc is reporting this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11-21-2016 08:42:58.109 -0500 INFO  TcpOutputProc - Initializing connection for non-ssl forwarding to splunkserver:9997
11-21-2016 08:42:58.125 -0500 INFO  TcpOutputProc - tcpout group default-autolb-group using Auto load balanced forwarding
11-21-2016 08:42:58.125 -0500 INFO  TcpOutputProc - Group default-autolb-group initialized with maxQueueSize=512000 in bytes.
11-21-2016 08:42:58.921 -0500 INFO  TcpOutputProc - Connected to idx=10.5.1.181:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I see these warnings but not sure if they are relevant:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11-21-2016 08:41:54.532 -0500 WARN  ProcessRunner - Process with pid 2264 did not exit within a given grace period after being signaled to exit. Will have to forcibly terminate.
11-21-2016 08:42:55.348 -0500 WARN  AuditTrailManager - Private key file does not exist but is defined in audit.conf - no local event signing will take place. You can create auditTrail keys if necessary by running splunk createssl audit-keys
11-21-2016 08:42:55.847 -0500 INFO  LMTracker - Setting feature=ResetWarnings state=DISABLED_DUE_TO_LICENSE (featureStatus=2)
11-21-2016 08:42:58.063 -0500 WARN  PubSubMgr - Can't parse deployment server address from conf: ""
11-21-2016 08:42:58.281 -0500 WARN  UserManagerPro - Can't find [distributedSearch] stanza in distsearch.conf, using default authtoken HTTP timeouts
11-21-2016 08:42:58.655 -0500 WARN  X509Verify - X509 certificate (O=SplunkUser,CN=SplunkServerDefaultCert) should not be used, as it is issued by Splunk's own default Certificate Authority (CA). This puts your Splunk instance at very high-risk of the MITM attack. Either commercial-CA-signed or self-CA-signed certificates must be used; see: &amp;lt;http://docs.splunk.com/Documentation/Splunk/latest/Security/Howtoself-signcertificates&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The one that stands out to me the most is  11-21-2016 08:42:58.063 -0500 WARN  PubSubMgr - Can't parse deployment server address from conf: ""&lt;BR /&gt;
but would addressing this fix the problem?&lt;/P&gt;

&lt;P&gt;Is there something else that I have missed?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 14:27:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Server-2008R2-Splunk-server-not-receiving-Windows-Event/m-p/234207#M45628</guid>
      <dc:creator>seeia</dc:creator>
      <dc:date>2016-11-21T14:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Windows Server 2008R2 Splunk server not receiving Windows Event Logs from a Windows 7 PC with Universal Forwarder installed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Windows-Server-2008R2-Splunk-server-not-receiving-Windows-Event/m-p/234208#M45629</link>
      <description>&lt;P&gt;Nevermind, I see what I did wrong.&lt;/P&gt;

&lt;P&gt;I had set up the server to search an index I created called "test" for these logs.&lt;BR /&gt;
The forwarder was configured to use "wineventlog" (per the above).&lt;/P&gt;

&lt;P&gt;So the data is being forwarded now, I just can't see it displayed on the main Search UI by default.&lt;BR /&gt;
If I run a manual search, I can see the data in index "wineventlog".&lt;/P&gt;

&lt;P&gt;Now, I'm just wondering how to get this to appear in the UI. I'll open another question if I don't see how to do it.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 18:38:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Windows-Server-2008R2-Splunk-server-not-receiving-Windows-Event/m-p/234208#M45629</guid>
      <dc:creator>seeia</dc:creator>
      <dc:date>2016-11-21T18:38:41Z</dc:date>
    </item>
  </channel>
</rss>

