Splunk Search

extract name from multivalue

mcbradfordwcb
Engager

Within MSAD, the manager field looks like this:

manager=CN=The Boss,OU=HLGIT,OU=CO,OU=mytownUsers,OU=ourFIRE,DC=ourcompany,DC=net

I need to extract "The Boss" only

Ideas?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try

... | rex field=manager "CN=(?<CN>[^,]+)" | ...
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

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 ...