Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.42k stars 1.07k forks source link

Data Routing: Insensitive toggles and error on Destinations page #20422

Open danotorrey opened 2 months ago

danotorrey commented 2 months ago

When on the Destinations Data Routing page, the toggle options for Index Set and Outputs seem to not work when clicked. There is no sign of progress or error when clicking them. Nothing seems to happen.

I also noticed the following error a while after the page loaded. It takes about 5 seconds to appear.

image
Loading index set with id: 6617f27053ebc348bd321744 failed with status: FetchError: There was an error fetching a resource: . Additional information: Cannot invoke "org.joda.time.Period.toStandardDuration()" because the return value of "org.graylog.plugins.datatiering.hotwarm.HotWarmDataTieringConfig.indexHotLifetimeMin()" is null

image

tellistone commented 2 months ago

by enabling, you mean "add output" ?

danotorrey commented 2 months ago

@tellistone Ahh, the Add Output option does actually work successfully. I think the issue is that the enable toggle controls on the rows are confusing. It seems to be just an indicator on if an Output/entry has been added or not. It seems to not respond to any user clicks. I think users would typically expect a toggle to do something when clicked. This is not a huge issue, but could lead to some user confusion. Maybe instead of using the toggle controls on this page, we could consider switching to Enabled/Disabled labels? I think that would be more clear for users that they don't need to click on them.