Splunk Enterprise

Correct format for inputs.conf stanza

sswigart
Engager

I want to add C:\windows\system32\winevt\logs\Microsoft-Windows-DriverFrameworks-UserMode/Operational  as a stanza in my inputs.conf.

How do I write the stanza?

Thank you

Labels (1)
0 Karma
1 Solution

marnall
Builder

Are those logs deliberately put in a file, or can they be viewed in the Windows Event Log?

If they are in the Windows Event Logs, then you can use a WinEventLog stanza:

[WinEventLog://Microsoft-Windows-DriverFrameworks-UserMode/Operational]
index=<your index>
sourcetype=<your sourcetype>
#etc

 ref: https://docs.splunk.com/Documentation/Splunk/9.2.0/admin/Inputsconf

View solution in original post

0 Karma

marnall
Builder

Are those logs deliberately put in a file, or can they be viewed in the Windows Event Log?

If they are in the Windows Event Logs, then you can use a WinEventLog stanza:

[WinEventLog://Microsoft-Windows-DriverFrameworks-UserMode/Operational]
index=<your index>
sourcetype=<your sourcetype>
#etc

 ref: https://docs.splunk.com/Documentation/Splunk/9.2.0/admin/Inputsconf

0 Karma

sswigart
Engager

Thank you!

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...