opensearch-project / dashboards-observability

Visualize and explore your logs, traces and metrics data in OpenSearch Dashboards
https://opensearch.org/docs/latest/observability-plugin/index/
Apache License 2.0
14 stars 52 forks source link

[BUG] Log explorer chart shows incorrect data #795

Open ashwin-pc opened 1 year ago

ashwin-pc commented 1 year ago

What is the bug?

There are a few issues with the Log Explorers visualization in the event tab:

  1. The log Explorer chart and the table below show different data.
  2. Actions on the chart such as selecting a time range do not update the time filter (It does on discover and on dashboards)

https://github.com/opensearch-project/dashboards-observability/assets/20453492/840e48e6-87fe-4eda-a895-a02678de599a

  1. The default graph shown also does not make a lot of sense in auto since it looks like there is missing data between the dates where the bars have a gap. See below screenshots

Screenshot 2023-08-01 at 5 19 02 PM Screenshot 2023-08-01 at 5 20 03 PM Screenshot 2023-08-01 at 5 27 57 PM

  1. The time frequency selector is incorrect after page navigation. To reproduce, change the frequency to a minute and then navigate away from the page and navigate back to the page. The graph resets but the picker does not. Screenshot 2023-08-01 at 5 23 58 PM 3-87ed-8b27d606168e)

How can one reproduce the bug? Steps to reproduce the behavior:

  1. Go to /app/observability-logs#/explorer
  2. Selecta. time range on the graph
  3. Scroll down to '....'
  4. See error

What is the expected behavior? A clear and concise description of what you expected to happen.

What is your host/environment?

Do you have any screenshots?

Do you have any additional context? Add any other context about the problem.

derek-ho commented 1 year ago

Thanks for raising the issues @ashwin-pc ! I will be assigning this to @mengweieric and Sumukh Swamy @sumukhswamy to follow up on this