Splunk Enterprise Security

Combine base search with LDAP search

d3ll0211
Loves-to-Learn

I am having difficulty combining two individual searches.  I have the following ldap search that lists the member names from group1 or group2

| ldapsearch search="(&(objectClass=group)(|(cn=group1)(cn=group2)))" attrs="member"
| ldapfetch dn=member attrs="givenName, sn"
| eval user=givenName." ".sn
| table user

I want the ldap search to list the member names when it meets the criteria of the base search:

index=myindex EventCode=5136 action=success name="A directory service object was modified"

How do I combine the two?

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...