Skip to main content

Graytool β€” Graylog Developer Toolkit

Graytool is a Chrome extension (Manifest V3) that enhances Graylog log management interfaces by injecting customizable action buttons into log rows. These buttons allow developers to quickly navigate from log entries to related admin panels, user details, or other internal tools.

Key Features​

  • 🎯 URL Pattern Matching β€” Only activates on configured Graylog instances
  • πŸ”˜ Customizable Buttons β€” Dynamic buttons with URL templates and field bindings
  • πŸ” Automatic Field Discovery β€” Discovers fields from log rows automatically (data attributes, JSON parsing, DOM patterns)
  • πŸŽ›οΈ Conditional Visibility β€” Show/hide buttons based on field values
  • πŸ“‹ JSON Viewer β€” View, search, and filter log message details
  • πŸ• Search History β€” Graylog searches are saved and reusable
  • πŸ“¦ Import/Export β€” Share configuration across environments
  • 🎨 Theme Support β€” Automatic adaptation to Graylog's light/dark theme

How It Works​

User visits URL
β†’ background.ts checks URL pattern
β†’ Match found β†’ Content script is injected
β†’ Log rows are processed β†’ Buttons are injected
β†’ User clicks button β†’ URL opens in new tab

Quick Start​

  1. Install the extension
  2. Add your first URL Pattern
  3. Create your first button

Who Is It For?​

Graytool is designed especially for:

  • Backend developers β€” Quickly navigate from logs to user/order details
  • DevOps engineers β€” Manage multiple Graylog instances
  • Team leads β€” Share standard navigation buttons with the entire team

Version​

Current version: v2.0.2 β€” Chrome Manifest V3