Expand my Community achievements bar.

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

Avatar

Level 1

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

Hi @Balasai_NikhilKa1 

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

 

Avatar

Level 1

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.