macOS
brew install groklocal Homebrew formula metadata
sudo port install grokMacPorts ports tree · sysutils/grok/Portfile · ソース: api.github.com
brew
grok のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install groklocal Homebrew formula metadata
sudo port install grokMacPorts ports tree · sysutils/grok/Portfile · ソース: api.github.com
概要
DRY and RAD for regular expressions and then some
履歴
Jordan Sissel's grok is a small Unix-oriented log parsing tool that turns reusable regular-expression patterns into structured output.
The project predates its GitHub repository through the semicomplete.com and Google Code era referenced from the repository metadata. Its manual page describes the command as software for parsing logs, handling events, and turning unstructured text into structured data.
The C implementation builds a `grok` command, `discogrok`, and a shared library. Its pattern-file model lets users name regular expressions once and compose them in match blocks instead of repeating long PCRE expressions across log-processing configurations.
The standalone package remained a niche command-line tool, but the grok pattern idea became culturally important in log processing. Similar pattern syntax appears in widely used log pipelines and observability products, while the original package stayed available through package managers such as Homebrew and MacPorts.
A typical invocation points `grok` at a configuration file with `-f`. Configurations declare inputs such as files or command output, define match blocks, and emit reactions such as the original line, captured fields, JSON, or shell-command input.
For package nerds, the appeal is the old-school Unix shape: a C command, PCRE-backed named patterns, installable pattern files, and log parsing without pulling in a larger log-ingestion stack.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
discogrok | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/jordansissel/grok
インストールメタデータ
| パッケージキー | brew:grok |
|---|---|
| バージョン | 0.9.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/grok |
| ホームページ | https://github.com/jordansissel/grok |
| リポジトリ | https://github.com/jordansissel/grok |
| 上流ドキュメント | https://github.com/jordansissel/grok#readme |
| ライセンス | BSD-2-Clause |
| ソースアーカイブ | https://github.com/jordansissel/grok/archive/refs/tags/v0.9.2.tar.gz |
| 最終更新 | 2026-06-25T13:37:44+02:00 |
| Pulse | updated |
| 依存関係 | libevent, pcre, tokyo-cabinet |
| Bottle | 利用可能 (対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | grok |
| Version Scheme | 0 |
| Revision | 2 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
grok
sudo port install grokソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.