Getting Data In

splunk not receiving data from windows universal forwarder

skumarvs
New Member

Installed universal forwarder in windows. Checked the splunkd log and I could see the connection to server without any error as below. tried checking with firewall and ports.But still index doesnt log any events.

TcpOutputProc - Connected to idx=xxxx:9997.

Below are my conf file.

inputs.conf
[default]
host = xxxxx
[monitor:C:\opt\splunk\]
disabled = false
sourcetype = hievents
index = hiindex


Outputs.conf
[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = xxxx:9997

[tcpout-server://xxxx:9997]

Please advice.

Tags (2)
0 Karma

ankireddy007
Path Finder

Please check for monitor syntax: [monitor://]

MuS
SplunkTrust
SplunkTrust

Hi skumarvs,

here are some typical troubleshooting tips:

  • Do you search the correct time range - try all time?
  • Do you search the correct index - try index=hiindex?
  • Do you have permission to search this index?
  • search index=_internal source=*splunkd.log on the indexer for any error related to the universal forwarder
  • run a snoop/tcpdump to ensure there is something sent to the indexer, if the universal forwarder tells you it is connected that does not mean it sends data.

Last but not least do the usual troubleshooting around Splunk, is everything doing what it should do and so on.

hope this helps ...

cheers, MuS

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...