Splunk Enterprise

Windows Server Event Logs: How to collect windows logs other than the usual Application,System,Security?

a1bg503461
Explorer

Hello,

Have anyone managed to collect windows logs other than the usual  Application,System,Security,Setup ?

I am being asked if we can collect Microsoft-Windows-FailoverClustering  event ID 1641

If anyone has the inputs.conf file for something like that I would appreciate it.

 

 

Labels (2)
Tags (2)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

You can collect any of the eventlog channels

You just have to give the proper name in the inputs.conf stanza. You can find it in the properties of the channel (or you can use some fancy PS command to do it) as Full Name

So for example, for "Applications and Services Logs -> Microsoft -> Windows -> Audio -> CaptureMonitor" it will be "Microsoft-Windows-Audio/CaptureMonitor".

So you'd have to name your stanza

[WinEventLog://Microsoft-Windows-Audio/CaptureMonitor]

View solution in original post

Simple_Search
Path Finder

PickleRick is spot on - Here is an example of capturing print logs.... Keep in mind that some logs are disabled from operational status, such as the Print Monitor and need to be enabled to start generating logs.

[WinEventLog://Microsoft-Windows-PrintService/Operational]
disabled=0
index=wineventlog
current_only = 0
renderXml = false
checkpointInterval = 5

 

#REGFIX - HKLM\SYSTEM\CurrentControlSet\services\eventlog\Microsoft-Windows-PrintService/Operational] - DWORD Enabled=00000001
#REGFIX - HKLM\SOFTWARE\Microsoft\Windows\CurrentControlSet\WINEVT\Channels\Microsoft-Windows-PrintService/Operational] - DWORD Enabled=00000001

 

PickleRick
SplunkTrust
SplunkTrust

You can collect any of the eventlog channels

You just have to give the proper name in the inputs.conf stanza. You can find it in the properties of the channel (or you can use some fancy PS command to do it) as Full Name

So for example, for "Applications and Services Logs -> Microsoft -> Windows -> Audio -> CaptureMonitor" it will be "Microsoft-Windows-Audio/CaptureMonitor".

So you'd have to name your stanza

[WinEventLog://Microsoft-Windows-Audio/CaptureMonitor]
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...