Graylog2/graylog2-server

Util to simplify execution of basic pivot search

Open

#20.964 aperta il 15 nov 2024

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)Java (1032 fork)batch import
featuregood first issueimprovementtriaged

Metriche repository

Star
 (6945 star)
Metriche merge PR
 (Merge medio 8g 19h) (297 PR mergiate in 30 g)

Descrizione

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

Guida contributor