Getting Data In

How to configure Splunk Windows Event logs through command line?

dlogvinenko
Engager

Is it even possible to configure Windows Event Logs through command line?

PS C:\Program Files\SplunkUniversalForwarder\bin> .\splunk.exe add monitor WinEventLog://Security

 In handler 'monitor': Parameter name: Path does not exist.

Also tried:

C:\Windows\System32\Winevt\Logs\Security.evtx (but then I get charset problems) and I didn't find how to specify it when you add monitor (using command line only).

0 Karma
1 Solution

badrinath_itrs
Communicator

Hi ,

Please check the below documentation as how you can add the Event logs for monitoring using Splunk.

http://docs.splunk.com/Documentation/Splunk/6.4.0/Data/MonitorWindowseventlogdata

The Command that you are using is to add normal log files for monitoring and not for event logs.

Regards,
Badri

View solution in original post

badrinath_itrs
Communicator

Hi ,

Please check the below documentation as how you can add the Event logs for monitoring using Splunk.

http://docs.splunk.com/Documentation/Splunk/6.4.0/Data/MonitorWindowseventlogdata

The Command that you are using is to add normal log files for monitoring and not for event logs.

Regards,
Badri

Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...