Skip to content
Back to skills

270 Logs 5ef4fccc

ASecurity

Retrieve and display logs for the specified run ID. **Usage:** `/dg:logs <run-id> [level] [limit]` Parameters: - `$1` (required): Run ID - `$2` (optional): Log level filter (DEBUG, INFO, WARNING, ERROR, CRITICAL) - `$3` (optional): Maximum number of log entries to return

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
developmentapi

Works with

  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 270-logs_5ef4fccc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 270 Logs 5ef4fccc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 270 Logs 5ef4fccc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-270-logs-5ef4fccc/badge)](https://www.skillsdirectory.com/skills/tools-only-270-logs-5ef4fccc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Get logs for a Dagster run

Retrieve and display logs for the specified run ID.

**Usage:** `/dg:logs <run-id> [level] [limit]`

Parameters:

- `$1` (required): Run ID
- `$2` (optional): Log level filter (DEBUG, INFO, WARNING, ERROR, CRITICAL)
- `$3` (optional): Maximum number of log entries to return

## Execution

First, fetch the logs using the `dg api log get` command:

    dg api log get $1 --json

If a log level filter is provided (e.g., ERROR, WARNING), filter the logs:

    dg api log get $1 --json | jq --arg level "$2" '.logs[] | select(.level == $level)'

If a limit is specified, apply it to the results:

    dg api log get $1 --limit $3 --json

If both level and limit are provided:

    dg api log get $1 --level $2 --limit $3 --json

## Display

Parse and display the logs in a readable format showing:

1. **Timestamp** - When the log entry occurred
2. **Level** - Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
3. **Step** - Which step generated the log (if applicable)
4. **Message** - The log message content

Organize logs chronologically and highlight ERROR and CRITICAL level logs for easy identification.

If no logs are found, inform the user that the run exists but has no logs matching the criteria.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.