Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Util to simplify execution of basic pivot search #20964

Open
patrickmann opened this issue Nov 15, 2024 · 0 comments
Open

Util to simplify execution of basic pivot search #20964

patrickmann opened this issue Nov 15, 2024 · 0 comments

Comments

@patrickmann
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant