Graylog2/graylog2-server

Util to simplify execution of basic pivot search

Open

#20.964 geöffnet am 15. Nov. 2024

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (1.032 Forks)batch import
featuregood first issueimprovementtriaged

Repository-Metriken

Stars
 (6.945 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T 19h) (297 gemergte PRs in 30 T)

Beschreibung

What?

Create a utility service that simplifies execution of basic pivot searches in the backend. It would accept the variable parts of the search (query, pivot field name) and handle the details of building the search, extracting the values from the result rows, and handling errors.

Why?

  • When coding a search for the first time, it is difficult to know which classes to use and how
  • There are multiple instances of these searches in the code base. They are very similar to each other: EventDefinitionAggregator InputDiagnosticService EventAssetRiskAggregator

Your Environment

  • Graylog Version: 6.2

Contributor Guide