AEM as a Cloud Service: Splunk log forwarding fails due to expired TLS certificate

This article explains how to resolve an issue where log forwarding from Adobe Experience Manager (AEM) as a Cloud Service to Splunk stops due to an expired TLS certificate on the Splunk HTTP Event Collector (HEC) endpoint.

Description description

When using AEM as a Cloud Service to forward logs to Splunk via a configured HEC endpoint, log forwarding stops if the TLS certificate on the Splunk HEC endpoint expires. This results in no new AEM logs (author, publish, or dispatcher) appearing in the designated Splunk indexes after the certificate expiration date. The issue affects all environments configured to use the affected endpoint.

Environment

  • Adobe Experience Manager as a Cloud Service (AEMaaCS) (all versions)
  • Splunk log forwarding integration using a Splunk HEC endpoint

Symptoms

  • No new log events from AEM as a Cloud Service appear in the configured Splunk indexes after a specific timestamp.
  • Log forwarding stops for all environments using the same HEC endpoint.

Cause

The TLS certificate on the Splunk HEC endpoint expired, preventing AEM as a Cloud Service from establishing a secure connection and forwarding logs.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Verify endpoint connectivity:

    • Confirm that the AEM as a Cloud Service runtime can reach the Splunk HEC endpoint.
  2. Check TLS certificate validity:

    • Inspect the TLS certificate on the Splunk HEC endpoint or its load balancer to determine if it has expired.
  3. Renew and deploy the certificate:

    • Contact the team responsible for managing the Splunk HEC endpoint to renew or replace the expired TLS certificate.

    • Ensure the updated certificate chain is deployed on all relevant endpoint nodes.

  4. Retest log forwarding:

    • After the certificate is renewed and deployed, verify that log forwarding from AEM as a Cloud Service resumes, and new events are being received in the Splunk indexes.
recommendation-more-help
experience-cloud-kcs-help-kbarticles