Graylog2 / Graylog2/graylog2-server

Dynamically pick time range for collector logs searches

Open
#25,780 0 comments 0 reactions 0 assignees View on GitHub
collector feature
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## What?
The Graylog Collector UI has links to the received messages and collector system logs for each instance.
The time range on these searches is always 1 hour, which work when the collector is online or just went offline.
However, if the collector has been offline for longer than 1 hour, users would see an empty result and have to remember to manually adjust the time range.

Since we have the last heartbeat timestamp, we can use that to anchor our search time range instead, immediately showing relevant data to the user.

## Your Environment

* Graylog Version: 7.1.0-rc.1
* 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.