Getting Data In

How can I create a filter to capture certain events from security logs?

ph1llies05
New Member

Hi All,

I'm a newbie to the Splunk world and trying to figure out a couple things. I currently have Splunk Light installed and used the "Remote Event Log Collection" option to collect logs from my system. My question is: Can I create filters to only capture certain events from the security logs? Or do I need to configure the universal forwarder to collect the logs from my systems then configure filters prior to data getting indexed? Thanks, any info you can provide would be great.

0 Karma
1 Solution

lguinn2
Legend

You should let the universal forwarder collect the entire log and then filter on the indexer.

Exception: for Windows event logs, you can blacklist or whitelist event codes on the universal forwarder. To do this, you will need to add filters to the inputs.conf on the universal forwarder, as described in Monitor Windows event log data: Create advanced filters with 'whitelist' and 'blacklist'

View solution in original post

lguinn2
Legend

You should let the universal forwarder collect the entire log and then filter on the indexer.

Exception: for Windows event logs, you can blacklist or whitelist event codes on the universal forwarder. To do this, you will need to add filters to the inputs.conf on the universal forwarder, as described in Monitor Windows event log data: Create advanced filters with 'whitelist' and 'blacklist'

ph1llies05
New Member

Thanks for the response. Last question, does the universal forwarder need to be configured on a separate system from the Splunk Light server?

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Yes, the Universal Forwarder sits on the remote machine which is generating data.. The Forwarder will send this data to the indexer (Where Splunk is installed)

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Request for Professional Development: Attending .conf26

Winning Over the Boss: Your Pass to .conf26 conf26 is going to be here before you know it. If don't already ...