Getting Data In

Pre-filter Windows Event Logs before collected?

stratmark
Engager

Is there any way to pre-filter WMI event logs, e.g. only collect warnings and errors on the Application log, System log and collect all events on the Security log? I'm trying to figure out how to reduce my index amount to control licensing costs.

ftk
Motivator

You can set up regular expressions to route certain data to the nullQueue, which basically means that any events that match the regular expression(s) are discarded prior to indexing and will not count against your license.

Take a look at the following previous post on how to set this up: http://answers.splunk.com/questions/3239/try-to-route-certain-wmi-events-to-nullqueue

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!

What You Read the Most in 2026: Splunk Lantern's Most Popular Articles, Top Themes, ...

Splunk Lantern is Splunk's customer success center that provides practical guidance from Splunk experts on key ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

The Data Connection - November 2026

Machine data keeps growing, and every new source brings practical questions: where should it live, how ...