Graylog2 / Graylog2/graylog2-server
not able to generate statistics or chart from numeric when clicking from message
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
We have numeric fields that are not able to generate the standard numeric statistics or charts when clicking from the message.
## Expected Behavior
When clicking statistics or chart on a numeric field, it should produce a statistics table with numeric statistics or a chart with numeric values displayed.
## Current Behavior
In the UI when clicking statistics or chart from the message, it does not produce the expected results. It creates a table or graph like it was a string field.
It should work like when clicking from the field section on the left hand side. This works on the same field in the same index.
## Possible Solution
## Steps to Reproduce (for bugs)

1. Search for log messages with numeric fields.
2. In the message table, expand the message and for a numeric field select statistics or chart.
3. The chart or stats table that is generated looks like it was for a string field.
## Context
It is confusing behavior for engineers and the work around is not intuitive.
## Your Environment
* Graylog Version: 4.0.1
* Java Version: OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode, sharing)
* Elasticsearch Version: 7.10.1
* MongoDB Version: 4.2.10
* Operating System: Windows 10 (and same behavior on Macs)
* Browser version: Version 1.18.70 Chromium: 87.0.4280.101 (Official Build) (64-bit)
Contributor guide
Assessment
This issue has not been assessed yet.