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!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...