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!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...