Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

Log Forwarding - Limiting Scope of Logs being passed

Avatar

Level 1

Hello there -

 

we setup the self service log forwarding (https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/dev...) using https and so far its been working well but the logs are fairly large and sometimes causing issues with our API that receives them.

 

Is there a way, on the AEM config side, to select which logs are being passed? I know we can limit the aem and/or cdn logs only but we want to get more granular.

i.e.

 

  • aemaccess
  • aemerror
  • aemrequest
  • aemdispatcher
  • aemhttpdaccess
  • aemhttpderror

Can I set only the aemerror log from publisher or only the aemaccess log from author?

 

Thanks,

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @Psythe ,

 

  • In AEM as a Cloud Service, self-service log forwarding lets you choose between AEM logs or CDN logs, but it does not support picking individual log files (like only aemerror or only aemaccess).

  • You cannot configure it to forward logs only from author or only from publishers either.

  • If you need that level of control, you must:

    • Filter on your side (after logs reach your API), or

    • Raise an Adobe feature request (RFE) to add finer log-level filtering.

Today, AEM config does not allow forwarding only specific logs (e.g., aemerror from publisher). Filtering must be handled outside AEM.

 

Thanks & Regards,

Vishal

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @Psythe,

I think, you can use logForwarding.yaml for self-service configuration: AEM as a Cloud Service supports self-service log forwarding via a YAML configuration file (logForwarding.yaml) that you commit to your project's config directory and deploy via a Cloud Manager config pipeline.

You can specify which logs to forward using the data section. Supported log types include:

  • aemaccess

  • aemerror

  • aemrequest

  • aemdispatcher

  • aemhttpdaccess

  • aemhttpderror

  • aemcdn

Example configuration - only forward aemerror logs from publisher

kind: "LogForwarding"
version: "1"
metadata:
  envTypes: ["author","publish"]
data:
  splunk:  # or your target (e.g. Elasticsearch, Azure Blob, HTTPS, etc.)
    default:
      enabled: true
      host: "your-splunk-host"
      token: "${{SPLUNK_TOKEN}}"
      index: "aem_logs"
  forward:
    publish:
      - type: "aemerror"
    author:
      - type: "aemaccess"
  • envTypes sets which environment tiers (author, publish, stage, prod) the configuration applies to.

  • Under data, you define your logging destination.

  • The forward section lists exactly which log types to forward per tier.

This example forwards only aemerror logs from the publish environment and only aemaccess logs from author.

 

Reference: https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/dev...

https://medium.com/tech-learnings/observability-in-aem-as-a-cloud-service-tools-techniques-and-best-...


Santosh Sai

AEM BlogsLinkedIn


Avatar

Correct answer by
Level 4

Hi @Psythe ,

 

  • In AEM as a Cloud Service, self-service log forwarding lets you choose between AEM logs or CDN logs, but it does not support picking individual log files (like only aemerror or only aemaccess).

  • You cannot configure it to forward logs only from author or only from publishers either.

  • If you need that level of control, you must:

    • Filter on your side (after logs reach your API), or

    • Raise an Adobe feature request (RFE) to add finer log-level filtering.

Today, AEM config does not allow forwarding only specific logs (e.g., aemerror from publisher). Filtering must be handled outside AEM.

 

Thanks & Regards,

Vishal

Avatar

Administrator

@Psythe Just checking in. Were you able to resolve your issue? We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could benefit the community. Thanks again for being part of the conversation!



Kautuk Sahni