Graytool is a Chrome extension that enhances Graylog log management by injecting configurable action buttons into log rows. It helps developers jump from log entries to admin panels, user details, and internal tools faster.
Read more about contributing to Graytool in CONTRIBUTING.md.
- URL pattern matching to activate only on configured Graylog instances
- Configurable buttons with URL templates and field bindings
- Automatic field discovery from log rows (data attributes, JSON parsing, DOM patterns)
- Conditional button visibility based on field values
- JSON viewer and search history for log message details
- Import/export configuration for sharing between environments
- Multi-language support (English, Türkçe) — switchable from the options page
src/
manifest.json
background.ts
_locales/ # Chrome i18n (en, tr)
inject/ # Content script files
options/ # Options UI (React)
shared/ # Shared types, storage, i18n
icons/
- Node.js 16+ (npm)
npm installnpm run buildBuild outputs are written into src/ for loading the extension directly.
npm run devnpm run lintnpm run clean- Run
npm run build - Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the
srcdirectory - Reload the extension after code changes
npm run releaseThis produces a zip at build/release/graytool-<version>.zip using the version from package.json.