Getting Data In

Splunk Lightforwarder for Windows not sending Windows Logs

balbano
Contributor

Based on the previous post for Windows Deployment:

http://answers.splunk.com/questions/434/can-i-auto-install-or-deploy-splunk-onto-all-my-remote-windo...

I was able to use the simple batch script in order to setup my Windows Server to phone home to my Deployment Server.

Once the configs are pushed from the Deployment Server to the Windows Server, Splunk seems to be working fine in Light Forwarder Mode. However, it is only pushing the Splunk Metric and Splunkd logs to my indexers and not the actual windows logs.

The deployment app I am pushing is a custom version of the SplunkLightForwarder App.

Inputs.conf file has the default splunklightforwarder app configs with the following additional stuff:

##############################
#Logs to Monitor
##############################

[WinEventLog:Application]
disabled = false
sourcetype = WinEventLog_App
index = myindex

[WinEventLog:Security]
disabled = false
sourcetype = WinEventLog_Sec
index = myindex

[WinEventLog:System]
disabled = false
sourcetype = WinEventLog_Sys
index = myindex

[script://$SPLUNK_HOME\bin\scripts\splunk-wmi.path]
disabled = 0
interval = 1
source = wmi
sourcetype = wmi
index = myindex

[script://$SPLUNK_HOME\bin\scripts\splunk-regmon.path]
disabled = 0
interval = 60
source = WinRegistry
sourcetype = WinRegistry
index = myindex

[script://$SPLUNK_HOME\bin\scripts\splunk-admon.path]
interval = 60
source = ActiveDirectory
sourcetype = ActiveDirectory
disabled = 0
index = myindex

[script://$SPLUNK_HOME\bin\scripts\splunk-perfmon.path]
interval = 60
source = PerformanceMonitor
sourcetype = PerformanceMonitor
disabled = 1
index = myindex

At this point I have only been able to get Windows logs sending to our indexers if I install Splunk Directly on the server and setup the config in $Splunk_Home/etc/system/local. However I have to stop the web service manually and manage configs locally instead of through deployment server.

Can someone chime in here and let me know if I am missing anything or explain why the Windows Logs are not sending?

Any Help is Appreciated.

Thank You.

Brian

0 Karma
1 Solution

balbano
Contributor

I discovered my issue... it was a config precedence issue. Everything works now.

View solution in original post

0 Karma

balbano
Contributor

I discovered my issue... it was a config precedence issue. Everything works now.

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!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...