Skip to main content

diagrid project logs

List project logs

Description

Retrieve a paginated page of project-wide logs.

Unlike diagrid appid logs, which streams logs for specific App IDs, this command returns a single page of logs across the project and supports filtering by App ID(s) and log type.

diagrid project logs <project-name> [flags]

Examples


# Get the most recent logs for the current project
diagrid project logs

# Get logs for a specific project, limited to 50 entries
diagrid project logs my-project --limit 50

# Filter by App IDs (comma separated) and log type
diagrid project logs --appids my-appid,another-appid --type app

# Fetch the next page using the token from a previous response
diagrid project logs --page <next-page-token>

Options

--limit int32 Maximum number of log entries to return
--page string Pagination token returned by a previous response
--appids string Comma-separated list of App IDs to filter logs by
--type string Filter logs by type (e.g. app, dapr)
-o, --output string Output format, supported [table, yaml, json] (default "json")
-h, --help help for logs

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO