Splunk Search

Issue with field extraction regex

tinpelayee
Engager

Hello plp,

I have this problem, i need to extract 2 fields of this event.

[14/04/2020 16:17:49][INFO][http-8080-36][ar.xxx.xxx.xx]:116 - (3;;57AF476E9DDAF14CA60BA1E589C55CF8) Usuario: UserName Operador: OperadorName EstadoOperadorToken: Token Activo

i need a regex that capture the string after "Usuario" and "Operador"

Any one can help me_

Labels (1)
Tags (1)
0 Karma
1 Solution

jpolvino
Builder
| rex "Usuario:\s(?<UserName>[\S]+)\sOperador:\s(?<OperadorName>[\S]+)"

View solution in original post

0 Karma

jpolvino
Builder
| rex "Usuario:\s(?<UserName>[\S]+)\sOperador:\s(?<OperadorName>[\S]+)"
0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...