opensearch-project / OpenSearch-Dashboards

📊 Open source visualization dashboards for OpenSearch.
https://opensearch.org/docs/latest/dashboards/index/
Apache License 2.0
1.69k stars 894 forks source link

[BUG] Extra Index Pattern drop-down in edit filter as query DSL causes filter:Error #5182

Open Jessie725 opened 1 year ago

Jessie725 commented 1 year ago

Describe the bug Hi, we created Opensearch Dashboard URL by adding "https://hostname/app/discover#"+"?_g"+ encoded timeStart, timeEnd, index, and query. This URL applied the correct filter and got results in some Opensearch dashboard but for some Opensearch dashboards, it does not work and has Filter:Error. In Edit Filter, there is an extra index pattern drop-down. May I know why this extra drop-down appears? This drop-down does not appear for the Opensearch dashboard that worked with the URL. Also, no result shows up when this extra index pattern drop-down is set

A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior Filter in the URL applied in Opensearch Dashboard and get results

OpenSearch Version 1.3.8

Dashboards Version 1.3.8

Plugins

Please list all plugins currently enabled.

Screenshots

If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

Additional context

Add any other context about the problem here.

joshuarrrr commented 1 year ago

@abbyhu2000 Rocky suggested you may have some insight about what's going on here.

Jessie725 commented 1 year ago

Hi, do we have any updated on this?