Token not populating from Flex Connector regex
We have three tokens in our Flex Connector regex parser and the 2nd and 3rd tokens populate just fine. They write to the event fields as expected, but the 1st token never populates. The regex works fine and matches to log file entries perfectly, but the grouping for the first token returns an empty string every time. Has anyone else see this issue in the past?
Let me know if you need any further information for troubleshooting. Thanks!
# FlexAgent Regex Configuration File
regex=.*(\\w+.\\w+) (\\w+) \\S+ \\d----- (.*)
event.name=__stringConstant("Guest Wifi Login Registered")
event.message=__concatenate(Usrname," ",Wifiname," ",Message)
Re: Token not populating from Flex Connector regex
At first glance, the regex starting with .* doesn't look optimum.
Can you post some sample events, even with sanitized names?
And the token.name= line has a few odd characters at the end....is that just here in the posting or is that in your properties file?