Where to get "X-AEMaaCS-Log-Forwarding-Token" value for https log forwarding? | Community
Skip to main content
New Member
December 16, 2024

Where to get "X-AEMaaCS-Log-Forwarding-Token" value for https log forwarding?

  • December 16, 2024
  • 1 reply
  • 943 views

Hey,

I am trying to do log forward as mentioned in Log Forwarding for AEM as a Cloud Service | Adobe Experience Manager but not sure where can i get value for "authHeaderValue"

authHeaderName: "X-AEMaaCS-Log-Forwarding-Token" authHeaderValue: "${{HTTPS_LOG_FORWARDING_TOKEN}}"

 Thank you

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Asutosh_Jena_
Community Advisor
Community Advisor
December 16, 2024

Hi @balasai_nikhilka2 

This will be the token you will get from the SPLUNK instance where the logs will be forwarded.

 

New Member
December 16, 2024

Create a file named logForwarding.yaml. It should contain metadata, as described in the config pipeline article (kind should be set to LogForwarding and version set to “1”), with a configuration similar to the following 

 

kind: "LogForwarding" version: "1" metadata: envTypes: ["dev"] data: dynatrace: default: enabled: true host: "dynatrace-host.example.com" token: "${{dynatrace_token}}" index: "AEMaaCS"

 

 

Logging Destination Configuration

Configurations for the supported logging destinations are listed below, along with any specific considerations.

HTTPS

 

 

kind: "LogForwarding" version: "1" metadata: envTypes: ["dev"] data: https: default: enabled: true url: "https://example.com/aem_logs/aem" authHeaderName: "X-AEMaaCS-Log-Forwarding-Token" authHeaderValue: "${{HTTPS_LOG_FORWARDING_TOKEN}}"

 

 

So HTTPS_LOG_FORWARDING_TOKEN need to passed to place where we send logs. (ex: dynatrace or splunk.) from AEM.