graylog-access

Query, tail, and export Graylog logs via REST API for TTT environments.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/midas44/ttt-expert-v2 --skill graylog-access
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graylog-access
Source: https://github.com/midas44/ttt-expert-v2/tree/main/.claude/skills/graylog-access
Command: npx skills add https://github.com/midas44/ttt-expert-v2 --skill graylog-access

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PyYAML, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Access the corporate Graylog log-aggregation service for TTT environments to login, list streams, search, tail, and download logs for debugging and audits.

Core Features & Use Cases

  • Stream discovery: List available Graylog streams per environment and inspect their metadata.
  • Query, tail, and download: Search logs with Graylog query language, tail latest messages, and export results in JSON, CSV, or text formats.
  • Artifact generation: Save retrieved logs to artifacts/graylog for sharing, auditing, or incident analysis.
  • Use Case: Quickly check the QA environment logs for a specific error across multiple streams and export the relevant entries for diagnosis.

Quick Start

Run the Graylog API CLI to list streams and download recent logs for a chosen environment.

Frequently Asked Questions about graylog-access

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search and export Graylog logs for QA environments via REST API?

You can search and export Graylog logs for QA environments via REST API by using query language to filter streams, applying relative or absolute time windows, and outputting results in JSON, CSV, or plain text formats.

Can I tail the latest log messages from multiple Graylog streams?

Yes, you can tail the latest log messages from multiple Graylog streams. The tool lists available streams per environment and allows you to tail recent messages for rapid debugging across QA, TIMEMACHINE, PREPROD, STAGE, and DEV environments.

Does this Graylog access tool support session-based authentication and API tokens?

Yes, this Graylog access tool supports both API tokens and session-based authentication to securely connect to the corporate Graylog log-aggregation service and retrieve logs for auditing and debugging.

What is the best way to save retrieved Graylog logs for incident analysis?

The best way to save retrieved Graylog logs for incident analysis is to use the artifact generation feature, which writes queried log outputs to the artifacts/graylog directory for sharing, auditing, or further diagnosis.

How do I list available Graylog streams and inspect their metadata per environment?

You can list available Graylog streams and inspect their metadata per environment by running the Graylog API CLI, which provides stream discovery functionality to identify relevant log targets before querying or tailing.

Can I use absolute and relative time windows when querying Graylog logs?

Yes, you can use both absolute and relative time windows when querying Graylog logs. This allows you to precisely target log entries within specific timeframes for debugging or auditing purposes across all supported environments.