Graylog2 / Graylog2/graylog2-server

Util to simplify execution of basic pivot search

Open
#20,964 7 comments 0 reactions 0 assignees View on GitHub
feature good first issue improvement triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.