Edit in GitHubLog an issue

Logging

API Mesh for Adobe Developer App Builder allows you to use logs to monitor and debug issues with your mesh and its sources. After getting a list of recent logs by rayID, you can look up a recent log. Alternatively, you can export logs in bulk for a specific time range.

Display recent requests

The following command displays the 15 most recent requests by rayID and the status of those requests:

Copied to your clipboard
aio api-mesh:log-list

By default, the requests display in YAML.

The rayID is a unique identifier that is associated with every request made through an edge mesh. After finding the relevant rayID, use the aio api-mesh:log-get command to retrieve the logs for that rayID.

For more information see aio api-mesh:log-list.

Display a single log by rayID

After finding the desired rayID with the aio api-mesh:log-list command, you can use the following command to retrieve the logs for a specific rayID:

Copied to your clipboard
aio api-mesh:log-get 1a123456789abcd0

For more information see aio api-mesh:log-get.

Export bulk logs

Use the following command to create a CSV file with logs for the selected mesh during the specified time range. The maximum time between the startTime and endTime is 30 minutes:

Copied to your clipboard
aio api-mesh:log-get-bulk --startTime 2024-08-27T21:31:39Z --endTime 2024-08-27T21:55:54Z --filename mesh_logs.csv

The time format is YYYY-MM-DDTHH:MM:SSZ. You must convert your local time to UTC.

For more information see aio api-mesh:log-get-bulk.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.