Splunk Search

rex command help

kumar518g
Explorer

hi ,
i have extracted a field using IFX but from the list of values like mentioned below ,need to remove userID = text so please help me how to write rex for this.
UserID =SVORMA8
UserID =SVORMA1
etc

Regards
Ravi

Tags (2)
0 Karma

piebob
Splunk Employee
Splunk Employee

Ravi, please try and do some of your own homework before asking people here to do your job for you. as described in the documentation, the rex command uses Perl regular expressions (regex). if you do not understand how to write a regex, you should learn. here are some resources: http://www.regexbuddy.com/

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...