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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...