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!

Splunk Smartness with Brandon Sternfield | Episode 3

Hello and welcome to another episode of "Splunk Smartness," the interview series where we explore the power of ...

Monitoring Postgres with OpenTelemetry

Behind every business-critical application, you’ll find databases. These behind-the-scenes stores power ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...