Hello,
I have a Splunk ES instance on AWS. All logs are forwarded there from a Splunk HF (full forwarding - no indexing) which collects Active Directory data. Domain is accessible only via VPN.
I would like to populate Assets and Identities in ES. Since Cloud instance cannot access the domain, the only way I can think of is using SA-LDAPSearch on Heavy Forwarder.
I set it up and successfully connects to LDAP.
Question:
How can I push the logs and create the lookup tables that will eventually populate the Assets and Identities in ES?
Thanks!
Getting LDAP data into Splunk Cloud is not as straightforward as it is on-prem. As you already know, one can't write LDAP data directly to a lookup file. Well, you could, but that lookup file would be stuck on the HF where it does no good.
One method is to have the HF write the LDAP info to an index. You can create a dedicated index with a short retention period for this. A scheduled search runs on a Splunk Cloud SH to read the indexed data and write it to a lookup.
Another method is to use admon instead of LDAP. Your AD forwarders would need to be configured to send admon events to the Cloud, but everything else would be done on the SH.
Getting LDAP data into Splunk Cloud is not as straightforward as it is on-prem. As you already know, one can't write LDAP data directly to a lookup file. Well, you could, but that lookup file would be stuck on the HF where it does no good.
One method is to have the HF write the LDAP info to an index. You can create a dedicated index with a short retention period for this. A scheduled search runs on a Splunk Cloud SH to read the indexed data and write it to a lookup.
Another method is to use admon instead of LDAP. Your AD forwarders would need to be configured to send admon events to the Cloud, but everything else would be done on the SH.
Hi @richgalloway,
thanks for your answer. I believe this guide is approximately what you described?
How can I write the |ldapsearch search results into an index? Is there an extra command for that?
I will use the expected asset and identity fields in ES (bunit, owner, priority etc).
Thanks again.
With kind regards,
Chris
The instructions from Hurricane Labs uses Summary Indexing to write the ldapsearch results to an index. Youc also can use the collect command.