The datumctl activity command lets you interact with the activity
service. The activity service
allows you to query for audit logs that are collected for all interactions
with the platform.
You can see the full list of commands and CLI options by using the --help
flag.
This document will guide you through how to query the system using some of the
most frequently used commands.
Querying Audit Logs
The datumctl activity query command is available to query the system for audit
logs to understand what’s happening within your organization and projects.
Project and Organization Audit Logs
Use the --project and --organization flag to control which context audit
logs are retrieved from.
Filtering
The --filter command is available to filter the audit logs returned in the
query. The filter option accepts a CEL expression to select which audit
logs should be returned.
The --continue option is available to paginate requests when additional
results are available. The CLI will provide the continue option to use for the
next page of requests.
You can also use the --all-pages option to retrieve all pages.
Output
The --output or -o option is available to control the format that’s
returned. By default the query command outputs a table with common fields
to help you understand the activity. You can also output the
results as yaml or json to see the full audit logs that were retrieved by
the query.
Last modified on March 30, 2026