Open damianharouff opened 1 year ago
@damianharouff would it make sense to tie another HS ticket to this for the same error even if the symptoms are different?
This is also tied to HS-1930780021
@ed-graylog probably not; this one's more for regression of customer experience regarding widgets. HS-1930780021 looks more like their search is invalid for the range or query they're selecting.
I'm actually facing this exact same issue, although I really do want an aggregate on the message field (I'm using it to group the messages by count into a Data Table to get the "Top X error messages"). I'm running Graylog 5.1.11 and OpenSearch 2.12.
Is OpenSearch just not made for this type of query?
When attempting to build an implausible aggregation (Aggregating message by message? Sure...) for a widget, I'm noting the following in a 5.1.4 on-prem install:
OpenSearch exception [type=null_pointer_exception, reason=Cannot invoke "org.opensearch.search.aggregations.InternalAggregations.getSerializedSize()" because "reducePhase.aggregations" is null].
Per https://github.com/Graylog2/graylog2-server/issues/14386 it was stated that this was fixed so the widget should show an empty graph instead of an NPE response. Additionally, that issue lists https://github.com/opensearch-project/OpenSearch/issues/5785 as the underlying reason, which has tag v2.9.0 and is marked as complete, but I'm on Opensearch v2.9.0, and still seeing this:
In Graylog Cloud 5.1.4 (318) I'm seeing this as an NPE with no further information:
Steps to Reproduce (for bugs)
Your Environment
Also noted in Graylog Cloud 5.1.4 (318) and Graylog Cloud 5.1.3 (298).