Splunk Enterprise

Windows Event Index redirects

sean_aditum
Engager

Trying to route windows application logs to correct index based on event data. The scenario I have XmlWinEventLogs coming in normally using TA for windows and they head to the winos index.  I would like to redirect some specific events to a different index.  

Props.conf

[source::XmlWinEventLog:Application]
TRANSFORMS-citrix_xa_index = citrix_xenapp_index

Transforms.conf

[citrix_xenapp_index]
REGEX = Citrix
DEST_KEY = _MetaData:Index
FORMAT = citrixxa


This should route all events containing "Citrix" to the citrixxa index.  My question is the order of operation?  Do Index redirects have to be performed before any other say sourcetype renaming that the windows TA does?

Labels (1)
0 Karma

anwarmmian
Explorer

sean_auditum,

I have had the same issue. I wanted to redirect WinEventLog:Setup and XmlWinEventLog:Security to a different index as the logs were/are coming in main index.  I have had a similar stanza as yours except I had  "REGEX = ." in transforms.conf  to send all logs to a different index.  However, WinEventLog:Setup working but XmlWinEventLog:Security is not. 
Still investigating.

I'll provide an update once I resolve this issue.

 

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...