Graylog2 / Graylog2/graylog2-server

Group By inconsistency in Widgets between Search and Dashboard

Open
#18,678 2 comments 0 reactions 1 assignee Claimed by @dennisoelkers View on GitHub
bug Medium Prio to-verify triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

I created a Stream to collect Apache logs.
Also, created the Dashboard with a Bar Chart widget to see logs volume by date.
This widget in the Dashboard is the exact copy of the default one that is on the Search pages.

The problem is that on the Search pages, the Bar Chart properly shows logs by date, but the same widget in the Dashboard doesn't show anything.

## Expected Behavior
Since the widgets are identical, I expect the Bar Chart in the Dashboard to show the same bars as the Bar Chart on the Search pages.

## Current Behavior
The Bar Chart on the Dashboard doesn't show anything.

## Context
At the end of the day, I want to have that Bar Chart in the Dashboard to show the volume of Apache errors by date. For simplicity, in the screenshots below I didn't use any filters.

The following screenshots show all relevant pages and that the widget settings are exactly the same between the one on the Search pages and the one created in the Dashboard:

**1. The Search page of the Apache stream with the Bar Chart showing correct info.**
![Search Results](https://github.com/Graylog2/graylog2-server/assets/7204866/c9a9f8f5-a1ad-4e02-99bd-286f6e71c074)

**2. Settings of the default Bar Chart widget from the Search page above. The Bar Chart works as expected.**
![Search Results Widget](https://github.com/Graylog2/graylog2-server/assets/7204866/3e1acc89-f705-47de-b972-c1c6761dbdf0)

**3. Bar Chart widget created manually in the Dashboard, with the same settings as the default one from the Search pages. Yet, the widget doesn't show anything.**
_The "Rollup Columns" checkbox is not available, but if I switch the Direction to Columns, set the checkbox, and switch back to Row, it doesn't make any difference._
![Dashboard Widget](https://github.com/Graylog2/graylog2-server/assets/7204866/cec71d15-78c9-4e3f-90e8-4a0d70c15e9b)

## Your Environment
I'm using official Graylog Docker images for Graylog and DataNode. Docker is running under WSL 2 on Windows 11.

* Graylog Version: 5.2.5+7eaa89d
* Java Version: Don't know
* OpenSearch Version: DataNode 5.2.5
* MongoDB Version: 7.0.6
* Operating System: WSL 2 under Windows 11
* Browser version: Chrome 122.0.6261.112

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.