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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...