Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Missing Fields in CSV Download for Object Arrays #438

Open
rayangou opened this issue Sep 18, 2024 · 0 comments
Open

[BUG] Missing Fields in CSV Download for Object Arrays #438

rayangou opened this issue Sep 18, 2024 · 0 comments
Labels
bug Something isn't working untriaged

Comments

@rayangou
Copy link

What is the bug?
When exporting data to CSV from a saved search that includes fields from a JSON object array (e.g., obj_field1: [{content: "test1"}, {content: "test2"}]), the specified fields (e.g., obj_field1.content) do not appear in the downloaded CSV file.

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

  1. Create an index and upload documents formatted as obj_field1: [{content: "test1"}, {content: "test2"}].
  2. In Discover, include the desired field (e.g., obj_field1.content) and save the search.
  3. Generate the CSV report.
  4. The field (e.g., obj_field1.content) will be missing from the CSV file.

What is the expected behavior?
The field (e.g., obj_field1.content) should be included in the CSV file.

What is your host/environment?

  • OS: CentOS 7
  • Version: OpenSearch 2.15 / OpenSearch Dashboards 2.15
  • Plugins: Dashboards Reporting
@rayangou rayangou added bug Something isn't working untriaged labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

1 participant