Automic VaultAutomic Vault

brew

grok を Homebrew, MacPorts でインストール

grok のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install grok

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install grok

MacPorts ports tree · sysutils/grok/Portfile · ソース: api.github.com

概要

パッケージ概要

DRY and RAD for regular expressions and then some

コマンドとエイリアス

  • discogrok

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2011: The GitHub repository was created and release tags from the 2011 series were published.
  • 2012: Homebrew and other package ecosystems carried the standalone tool during the early 2010s log-processing boom.
  • 2020s: The original project persisted as a niche packaged utility while grok-style patterns became common in larger logging systems.

Related projects

  • Related projects include Jordan Sissel's Ruby grok implementation, Logstash-style grok filters, and observability tools that use named pattern matching for unstructured logs.
  • It is also adjacent to traditional text-processing tools such as grep, awk, sed, and PCRE-based command-line filters.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 10 個のプラットフォームターゲットで利用できます。
  • 3 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
discogrokcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版0.9.2
マネージャ更新日2026-06-25
ローカルデータOK
上流最新
検出された最新v0.9.2

https://github.com/jordansissel/grok

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキー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
Pulseupdated
依存関係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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namegrok
Version Scheme0
Revision2
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

MacPorts95%

grok

sudo port install grok
  • normalized package name match
  • 一致条件: Grok
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/grok/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment