Graylog2 / Graylog2/graylog2-server

Unable to sort by percentile in aggregation widget

Open
#16,405 1 comment 0 reactions 1 assignee Claimed by @maxiadlovskii View on GitHub
bug triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

When attempting to sort an aggregation by a percentile metric the sort tile disappears.

![percentile_sort](https://github.com/Graylog2/graylog2-server/assets/61566003/34baa6c9-a804-4daf-bcff-2fffdda14fab)

## Expected Behavior

Able to sort by percentile

## Current Behavior

The sort widget disappears when attempting to preview/update the aggregation widget. No error appears in the server log and there is no obvious (to me) error in the developer tools.

## Possible Solution

## Steps to Reproduce (for bugs)

1. Create an aggregation widget grouping by a numeric field (any type of visualization)
2. Add a metric for "percentile" and select any number
3. Add a sort for the percentile field, any order
4. Click either "Update Preview" or "Update Widget"
5. In either case, the sort by percentile option is removed

## Context

## Your Environment

* Graylog Version: 5.1.5
* Java Version: 17.0.8.1
* OpenSearch Version: 1.3.6
* MongoDB Version: 5.0.19
* Operating System: Ubuntu 20.04.6 LTS
* Browser version: Firefox 117.0

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.