> ## Documentation Index
> Fetch the complete documentation index at: https://datum.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Activity Logs

> Query and filter audit logs in the Datum Cloud portal to track changes across your organizations and projects

## Portal

Access activity logs from the organization's settings page.

![Activity Logs](https://mintcdn.com/datum-4926dda5/FYsOAYxQDJnosEsI/images/activity-logs.png?fit=max\&auto=format\&n=FYsOAYxQDJnosEsI\&q=85\&s=4017077cd793a78d54e16b4972af5c3c)

You can also query and filter audit logs for a project by navigating to a project's settings page.

## Command line

With `datumctl`, you can browse audit logs from the terminal and pipe them into `jq` or other tools.

For example, to see the last 7 days of audit logs:

```bash theme={null}
datumctl activity audit --start-time now-7d
```

By default, `datumctl activity audit` retrieves the last 24 hours of activity. You can use the `--filter` option to specify a [CEL expression](https://cel.dev/) to filter the audit logs returned. For commands and examples, see [Audit logs and events](https://datum.net/docs/datumctl/activity/audit-and-events.md) and [Change history and feed](https://datum.net/docs/datumctl/activity/change-history-and-feed.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.