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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

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 ...