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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...