Graylog2 / Graylog2/graylog2-server

Ability to set minimum interval when using "Auto" for time based widgets

Open
#15,683 0 comments 0 reactions 0 assignees View on GitHub
feature Medium Prio triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## What?

Graylog widgets allow you to choose a data point interval, or use "auto". Auto is very helpful for zooming in/out of time based widgets, however, in some cases this can cause charts to not display any lines.

For example, if i have logs with 1 data point every 30s, and i zoom in too much, the lines disappear. Setting a minimum interval would allow the use of auto but not allow it to go below a specified interval:

![image](https://github.com/Graylog2/graylog2-server/assets/107503402/5c2d9f5a-6f3b-473c-accc-c5ef65f8357f)

vs

![image](https://github.com/Graylog2/graylog2-server/assets/107503402/17a5bfda-d357-4cc1-bea4-fa1371b3b4b5)

## Why?

Having the ability to set a minimum allows "Interval: Auto" to be more flexible and avoid issues where no data points are visible on the widget.

## Your Environment

* Graylog Version: 5.1.1
* ~~Elasticsearch~~ OpenSearch Version: 2.6.0
* MongoDB Version: 6.0.6
* Operating System: Ubuntu Server 22.04 LTS
* Browser version: Google Chrome Version 114.0.5735.90 (Official Build) (arm64)

Please let me know if there are any questions. This isn't particularly important and not anything that a customer or prospect has asked about, just something i've run into when using time based widgets.

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.