Graylog2 / Graylog2/graylog2-server

Create Event Definition "Search within" Always NaN for Sources Dashboard

Open
#16,986 0 comments 0 reactions 1 assignee Assigned to @maxiadlovskii View on GitHub
bug test-day to-verify triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

Clicking "Create event definition" for any value on any view on the "Sources" Dashboard always results in `Search within ms: NaN`.
Continuing to Event Definition always results in defaulting "Search within" to 1 second.
Adding/updating the global or widget time ranges does not change the above.

This works as expected an any other dashboard and view outside the Sources Dashboard.

![image](https://github.com/Graylog2/graylog2-server/assets/103449971/0bfb4470-7049-47d1-a7e3-361e7950da37)

## Expected Behavior

The Event Definition `Search within ms` reflects the time range of the Dashboard or view.

## Current Behavior

## Possible Solution

## Steps to Reproduce (for bugs)

1. Go to the "Sources" Dashboard
2. Click the action menu for a value in any view
3. Click "Create event definition"
4. Observe `Search within ms: NaN`

## Context

## Your Environment

* Graylog Version:
* Java Version:
* 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.