Graylog2 / Graylog2/graylog2-server

IP fields in Aggregations are sorted lexicographically instead of numerical

Open
#21,506 2 comments 0 reactions 2 assignees Claimed by @luk-kaminski View on GitHub
bug triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## Expected Behavior

IP fields in Aggregations should be sorted numerically.

## Current Behavior

IP fields are sorted lexicographically using the string representation.

## Possible Solution

The problem is linked to the fact that we're using scripted terms in aggregations which leads to the treatment of the IP type as a a string. This can only be solved by a different approach. So there is no ETA yet.

## Your Environment

* Graylog Version: 6.x
* Java Version:
* OpenSearch Version:
* MongoDB Version:
* Operating System:
* Browser version:

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.