opensearch-project / OpenSearch-Dashboards

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

[BUG] Visualization Created With VisBuilder Cannot Be Saved #4016

Open jvincze84 opened 1 year ago

jvincze84 commented 1 year ago

Describe the bug

We got the following error message when trying to save Visualization created with VisBuilder:

{
    "error": "Bad Request",
    "message": "mapping set to strict, dynamic introduction of [visualization-visbuilder] within [_doc] is not allowed: strict_dynamic_mapping_exception: [strict_dynamic_mapping_exception] Reason: mapping set to strict, dynamic introduction of [visualization-visbuilder] within [_doc] is not allowed",
    "statusCode": 400
}

To Reproduce Steps to reproduce the behavior:

  1. Go to Visualize menu
  2. Click on 'Create Visualization.'
  3. Select the 'VisBuilder"
  4. Configre your Chart
  5. Try to save it with some name
  6. See the error message in the Developer console

Expected behavior The Visualization should be saved successfully without any error message.

OpenSearch Version 2.7.0

Dashboards Version 2.7.0

Plugins https://github.com/aiven/prometheus-exporter-plugin-for-opensearch

Host/Environment (please complete the following information):

Thanks a lot

jvincze84 commented 11 months ago

Hi All, Is there any update on this topic? Thanks, Janos VIncze

ashwin-pc commented 9 months ago

@jvincze84 can you provide any additional details about the issue? I havent tried to reproduce this issue on 2.7 yet but on mainline there is no issue saving a vis builder visualization as you can see. Can you try to see if you are facing the same on a newer version of Dashboards?

Screenshot 2023-12-08 at 6 32 09 PM