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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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