Splunk Search

Trying to view Windows Logs

aalborz
New Member

I'm trying to view Windows Logs. I installed the universal forwarder on the local Windows PC.
I configured only for local system, not remote. I added new receiver port 9997 on the server & restarted Splunk.
But when I go to Add data from Windows Logs, still asks me to install univ. forwarder and when I got to server, doesn't list the receiver I added. When I try to re-add it, it shows me this:

"Encountered the following error while trying to save: In handler 'cooked': Failed to create. Configuration for port 9997 already exists."

Splunk 4.3 Server is running on Linux.

Tags (1)
0 Karma

sdaniels
Splunk Employee
Splunk Employee

You cannot configure the inputs on the Splunk server. YOu'll need to do that on the forwarder located on your windows PC. Here's what you need to do:

http://docs.splunk.com/Documentation/Splunk/5.0/Deploy/Setupforwardingandreceiving

1) Enable the receiver on splunk server for port 9997 ( Done )
2) Edit outputs.conf on the forwarder to tell it to send to your reciever.

http://docs.splunk.com/Documentation/Splunk/5.0/Deploy/Configureforwarderswithoutputs.confd

3) Configure inputs.conf on the forwarder.

http://docs.splunk.com/Documentation/Splunk/5.0/Data/Monitorwindowsdata#Use_inputs.conf_to_configure...

0 Karma

sdaniels
Splunk Employee
Splunk Employee

It's not too bad at all. Steps 2 and 3 are a couple of lines each in two configuration files. Once you get the hang of where the files are etc...it's smooth sailing. Then on a larger scales we have the deployment mananger so you can edit something once and push it out to many servers.

0 Karma

aalborz
New Member

Seems to be too much work to get Windows logs into Splunk!

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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...