Getting Data In

Is it possible to transport data from a Windows event log view?

JensT
Communicator

Hi,

In our environment, many applications are logging into the Windows Application Event log.
We would like to transport it separately.

Is it possible to transport data from a Windows Event log View?

-Jens

0 Karma

woodcock
Esteemed Legend

You do not have to use Splunk's built-in WinEventLog facility. You can use the native Windows facilities to write a subset of logs to a directory/file and the use normal Splunk directory/file monitoring to forward them in.

0 Karma

javiergn
Super Champion

Yes it's possible.
Take a look at this:

http://docs.splunk.com/Documentation/Splunk/6.3.3/Data/Monitorwindowseventlogdata

In principle you would need something like the following in your inputs.conf file:

[WinEventLog://Application]
disabled = 0
start_from = oldest
index = yourindexname

Then simply search from your GUI with:

   index=yourindexname sourcetype=WinEventLog:Application

The default sourcetype for Windows Application Logs is the one I specified above, but you can change this (not recommended as it'll have a major impact on parsing, etc).

0 Karma

JensT
Communicator

Hello,

I do not want all Application Eventlogs. I want only logs from a VIEW.
And no, I do not want to use blacklist/whitelist.

Regards,
Jens

0 Karma

javiergn
Super Champion

If your view has a unique path you can do it this way:

 [WinEventLog://Path-To-Your-View]
 disabled = 0
 start_from = oldest
 index = yourindexname

For example:

[WinEventLog://Microsoft-Windows-TaskScheduler/Operational]

If that doesn't work for you, do you have any other way to uniquely identify those logs you are planning to collect? Is there a field that is unique for those events? If that's the case, blacklists and whitelists might be the only reasonable way even if you don't want to use them.

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!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...