Getting Data In

How to onboard Windows Key Management Service logs to Splunk?

thevikramyadav
Explorer

Hi Splunker,

We are already onboarding Windows Event logs to Splunk, and with that now we also want to onboard windows Key Management Service logs to Splunk. Does anyone know how to onboard this type of log into Splunk?

Thanks in advance.

0 Karma

neerajs_81
Builder

Assuming, these are under Event Viewer ( For example: Event Viewer > Windows Logs > Applications and Services ) you need to add monitors like below in  the local inputs.conf of the Windows host in question.


Example: Below is the way we specify the path of the channel from EventViewer for sending over UAC logs.  This is to be defined under 

c:\program files\splunk forwarder\apps\splunk_TA_Windows\local\inputs.conf

[WinEventLog:Microsoft-Windows-UAC/Operational]
disabled = 0

 

You will have to adjust the path of the channel ( log folder) accordingly to where those KMS logs are stored..  Check this link for getting the path correct: 
 
https://docs.splunk.com/Documentation/Splunk/9.0.3/Data/MonitorWindowseventlogdata#Use_the_Full_Name...

Note:  You can also get the path by right clicking on a sampe Event >> event properties >> Details >>  XML View >>  channel name

neerajs_81_0-1674636136584.png


Pls vote up or mark as Solution  if it helps

0 Karma

PickleRick
SplunkTrust
SplunkTrust

KMS seems to have its own event log. So just add a [wineventlog://Key Management Service] stanza with proper windows settings (sourcetype, destination index) and you should be ready to go.

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!

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...