Splunk Search

How to remove the Windows message description

jwalzerpitt
Influencer

Found a great article on how to remove the Windows message description - https://www.hurricanelabs.com/splunk-tutorials/windows-event-log-filtering-design-in-splunk# - and followed the article to create the following props/transforms conf files:

props.conf: 

[source::WinEventLog:Security] 
TRANSFORMS-removedescription = removeEventDesc1 

transforms.conf: 

[removeEventDesc1] 
LOOKAHEAD = 16128 
REGEX = (?msi)(.*)This event is generated 
DEST_KEY = _raw 
FORMAT = $1 

Waited some time for the UFs to phone home and pick up the change, but when I search the Windows events, I still see the description in the event.

Any idea or insights as to why would be greatly appreciated.

Thx

0 Karma
1 Solution

woodcock
Esteemed Legend

woodcock
Esteemed Legend

Don't reinvent the wheel. Upgrade to the latest version and then do this:
https://docs.splunk.com/Documentation/WindowsAddOn/7.0.0/User/Configuration#Configure_props.conf

Mai_splunk
Explorer

Hi @woodcock 

 

I'm triying this solutions without good results. I'm receiving message info after config the props.conf.

In deploy server, into the app, in local/props.conf I configure the parameters.

Do i Need anymore things?

 

Thanks!

0 Karma

jwalzerpitt
Influencer

Thx for the heads up

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...