These are the docs for the Metabase master branch. Some features documented here may not yet be available in the latest release. Check out the docs for the latest version, Metabase v0.51.

Advanced config logs

/api/logs endpoints.

These endpoints are meant to be used by admins to download logs before entries are auto-removed after the day limit.

For example, the query_execution table will have entries removed after 30 days by default, and admins may wish to keep logs externally for longer than this retention period.

GET /api/ee/logs/query_execution/:yyyy-mm

Fetch rows for the month specified by :yyyy-mm from the query_execution logs table. Must be a superuser.

PARAMS:

  • yyyy-mm Must be a string like 2020-04 or 2222-11.

« Back to API index

Read docs for other versions of Metabase.

Want to improve these docs? Propose a change.