Refine your search:

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.

asked 03 Jan '12, 12:01

nmace's gravatar image

nmace
5114
accept rate: 0%


7 Answers:

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)

link

answered 04 Jan '12, 10:31

yannK's gravatar image

yannK
13.5k823
accept rate: 31%

Any firewall between forwarder and splunk server?

link

answered 03 Jan '12, 12:05

Spelunke's gravatar image

Spelunke
495
accept rate: 0%

Nope. No hardware firewall, no software firewall either.

link

answered 03 Jan '12, 12:07

nmace's gravatar image

nmace
5114
accept rate: 0%

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 ?

link

answered 03 Jan '12, 18:37

yannK's gravatar image

yannK
13.5k823
accept rate: 31%

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.

link

answered 04 Jan '12, 07:57

nmace's gravatar image

nmace
5114
accept rate: 0%

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.

link

answered 04 Jan '12, 07:57

nmace's gravatar image

nmace
5114
accept rate: 0%

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!

link

answered 04 Jan '12, 12:24

nmace's gravatar image

nmace
5114
accept rate: 0%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×526

Asked: 03 Jan '12, 12:01

Seen: 1,895 times

Last updated: 04 Jan '12, 12:24

Copyright © 2005-2012 Splunk Inc. All rights reserved.