Graylog2/graylog2-server

Util to simplify execution of basic pivot search

Open

#20.964 aberto em 15 de nov. de 2024

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)Java (1.032 forks)batch import
featuregood first issueimprovementtriaged

Métricas do repositório

Stars
 (6.945 stars)
Métricas de merge de PR
 (Mesclagem média 8d 19h) (297 fundiu PRs em 30d)

Description

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

Guia do colaborador