graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

Bug in chart of a float value. Duplicated curve

Open borjam opened this issue 3 years ago • 3 comments

Expected Behavior

When just one metric is plotted only one curve should appear.

Current Behavior

Turns out two curves appear, slightly shifted vertically. Moreover, it seems to be related to refresh when redrawing them. If I resize the widget one of the curves remains stuck at the old width.

Screenshots are self explanatory.

Screenshot 2023-01-13 at 08 28 51 Screenshot 2023-01-13 at 08 28 37

Possible Solution

No idea, but seems to be related to chart refresh.

Steps to Reproduce (for bugs)

I selected a float value to draw an average chart for a 2 day time period.

Two curves appeared. When resizing it, the behaviour observed in the second screenshot happened. The "extra" curve kept the width it had before resizing.

Context

Your Environment

  • Graylog Version: 5.0.2
  • Java Version: OpenJDK 17.0.5+8.1_1
  • Elasticsearch Version: OpenSearch 2.4.1
  • MongoDB Version: 5.0.14
  • Operating System: FreeBSD 13.1
  • Browser version: Firefox 108.0.2 and Safari Version 16.2 (18614.3.7.1.5)

borjam avatar Jan 13 '23 07:01 borjam

Hey @borjam,

thanks for reporting this! Did this happen once or can you reproduce it? If you can, could you provide steps for us how to reproduce it? Does it happen only for float fields?

dennisoelkers avatar Jan 13 '23 07:01 dennisoelkers

I have reproduced it a couple of times, even restarting Graylog. However I have tried again and it´s not happening now. :/

I will let you know if it happens again. But before reporting I saw it three or four times.

borjam avatar Jan 13 '23 07:01 borjam

For the record, it never happened again. Might have been a viewer bug.

borjam avatar Oct 16 '24 08:10 borjam

@dennisoelkers could we close this ticket now?

Emy-01 avatar Mar 19 '25 14:03 Emy-01

Hello,

I have been unable to reproduce this for a long time now. Impossible for me to identify a culprit. Either Graylog or Firefox / Safari.

Right now I am running Graylog 6.1.8 but I am not able to recall when it stopped happening. It was a bit random and since I opened this issue I updated Graylog, the operating system and Firefox several times.

borjam avatar Mar 19 '25 17:03 borjam

Thank you @borjam! We will close this issue for now. If it happens again, please reopen the issue. Thank you very much for your support!

dennisoelkers avatar Mar 20 '25 09:03 dennisoelkers