Installation

New Splunk Installation Not Recieving Logs

nmace
Path Finder

I've got a new install of Splunk that refuses to receive logs from any of Windows servers. I have the Splunk Universal Forwarder installed on the machine I want to gather logs from. I left the port setting on the default. However the only logs the Splunk server seems to be receiving is local log files. I'm not sure what the problem is, I didn't have this problem when I setup Splunk before previously. Maybe I'm overlooking something obvious? I'm using the current release of Splunk as well as the current release of the forwarder.

Tags (1)
0 Karma

nmace
Path Finder

That fixed it, thanks! Netstat revealed something else was using port 9997. Fixing that, then deleting my inputs and setting it up under "Recieving" fixed the problem. Thanks!

0 Karma

yannK
Splunk Employee
Splunk Employee

Use netstats to see which process is using your port 9997 TCP.

udp, tcp and splunktcp are different protocols, you want splunktcp.
To configure splunk to receive forwarded data, please go to
manager > forwarding & receiving > receiving > add the port 9997.
(and disable the inputs you may have created in inputs)

nmace
Path Finder

The log file reports:

No connection could be made because the target machine actively refused it.

That is looking on port 9997 (the default). When I try to add that port to Splunk's TCP data inputs, I get a "Parameter name: TCP port 9997 is not available". That port is not setup as a UDP port either.

This splunk host isn't recieving any data from any forwader.

0 Karma

nmace
Path Finder

The log file reports:

No connection could be made because the target machine actively refused it.

That is looking on port 9997 (the default). When I try to add that port to Splunk's TCP data inputs, I get a "Parameter name: TCP port 9997 is not available". That port is not setup as a UDP port either.

This splunk host isn't recieving any data from any forwader.

0 Karma

yannK
Splunk Employee
Splunk Employee

here are some steps :
- check $SPLUNK_HOME/var/log/splunk/splunkd.log on the forwarder to see if it complains about : network issue, or log collection.
- maybe the internal logs are forwarded but not the windows events (check index=_internal | stats count by host )
- is the indexer receiving data from other forwarders ?

0 Karma

nmace
Path Finder

Nope. No hardware firewall, no software firewall either.

0 Karma

Spelunke
Path Finder

Any firewall between forwarder and splunk server?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...