Hi
How can i extract a dn from the following result.
identity:
acd123
cn=abc,ou=..,ou=..,
xyz234
cn=acd,ou=abc,...
I need to extract a new field dn with values starting with cn=.
Try this
your base search here | extract pairdelim="," kvdelim="=" | table cn ou
Hi kranthi851,
try this regex:
your base search here | rex max_match=0 "cn=(?<myNewField>[^,]+)" | do more here ....
The new field will be called myNewField
just change it to what fits your use case.
Hope this helps ...
cheers, MuS