Getting Data In

Windows Event Log Filter Attempt Failing

jchensor
Communicator

Hello, everyone.

I've looked at the following pages in Splunk Answers already, but after following everything they've done in there, I still cannot get my situation to work. 😞 But I looked through these:

http://splunk-base.splunk.com/answers/577/how-do-you-filter-windows-event-log
http://splunk-base.splunk.com/answers/13093/remote-event-log-windows-filtering-by-eventcode-not-work...
http://splunk-base.splunk.com/answers/29218/filtering-windows-event-logs

So I basically have the same problem as the first link, but I can't get it to work, even with the techniques used in that issue. I want to filter out certain Windows Events by EventCode, but the settings don't seem to take. Here's my settings:

-- PROPS.CONF --

[WinEventLog:Security]
TRANSFORMS-wineventlog-security = wineventlog_security_setNull

-- TRANSFORMS.CONF --

[wineventlog_security_setNull]
REGEX = (?msi)^EventCode=4674\D
DEST_KEY = queue
FORMAT = nullQueue

I'm putting this on the Forwarder machine, as this occurs on the Forwarders, correct? Or should this be on the Indexers?

Thanks everyone!

  • James
0 Karma
1 Solution

MuS
Legend

Hi jchensor

props.conf and transforms.conf are only handled on heavy forwarder and not on light or universal forwarder.

If your forwarder is s heavy, you could put props.conf and transforms.conf there.

If your forwarder is a light or universal forwarder, you must put your props.conf and transforms.conf on the indexer.

hope this helps

cheers,
MuS

View solution in original post

yannK
Splunk Employee
Splunk Employee
0 Karma

MuS
Legend

Hi jchensor

props.conf and transforms.conf are only handled on heavy forwarder and not on light or universal forwarder.

If your forwarder is s heavy, you could put props.conf and transforms.conf there.

If your forwarder is a light or universal forwarder, you must put your props.conf and transforms.conf on the indexer.

hope this helps

cheers,
MuS

jchensor
Communicator

Ahhhh, yes. ^_^ Thanks. Moving it to the indexer made it work exactly as I wanted. Thanks so much!!

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...