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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...