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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...