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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...