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

[Data Explorer][Discover 2.0] New discover ignores "Default columns" setting #5246

Closed
karel-m opened this issue Oct 9, 2023 · 1 comment
Closed
Assignees
Labels
bug Something isn't working data explorer Issues related to the Data Explorer project discover for discover reinvent v2.11.0

Comments

@karel-m
Copy link

karel-m commented Oct 9, 2023

Describe the bug

The new discover interface seems to ignore "Default columns" settings

To Reproduce

  1. Go to - Dashboards Management >> Advanced settings
  2. Find section - Discover
  3. Change "Default columns" to an explicit list of columns
  4. Go to - OpenSearch Dashboards >> Discover

Expected behavior

Showing columns according to the "Default columns" setting.

Unfortunately it shows just @timestamp + _source columns like this:

image

OpenSearch Version

v2.10.0 (installed from RPM opensearch-2.10.0-1.x86_64)

Dashboards Version

v2.10.0 (installed from RPM opensearch-dashboards-2.10.0-1.x86_64)

Host/Environment

  • Server - Oracle Linux 8
  • Desktop - Browser and version: Chrome 117.0.5938.149 (Windows 10)
@karel-m karel-m added bug Something isn't working untriaged labels Oct 9, 2023
@ananzh ananzh added discover for discover reinvent data explorer Issues related to the Data Explorer project v2.11.0 and removed untriaged labels Oct 9, 2023
@ananzh ananzh self-assigned this Oct 9, 2023
@ananzh
Copy link
Member

ananzh commented Oct 9, 2023

@karel-m thanks for helping us find this bug. We will work on it.

ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Oct 10, 2023
This is a missing functionality
* When user sets up `Default columns` in advanced settings, discover should display
default columns if the selected idp has the columns.
* If selected idp has no such columns, display `_source` column.

Issue Resolve
opensearch-project#5246

Signed-off-by: ananzh <ananzh@amazon.com>
ananzh added a commit to ananzh/OpenSearch-Dashboards that referenced this issue Oct 10, 2023
This is a missing functionality
* When user sets up `Default columns` in advanced settings, discover should display
default columns if the selected idp has the columns.
* If selected idp has no such columns, display `_source` column.

Issue Resolve
opensearch-project#5246

Signed-off-by: ananzh <ananzh@amazon.com>
opensearch-trigger-bot bot pushed a commit that referenced this issue Oct 10, 2023
* [BUG][Discover] Allow default columns settings

This is a missing functionality
* When user sets up `Default columns` in advanced settings, discover should display
default columns if the selected idp has the columns.
* If selected idp has no such columns, display `_source` column.

Issue Resolve
#5246

Signed-off-by: ananzh <ananzh@amazon.com>

* fix unit test

Signed-off-by: ananzh <ananzh@amazon.com>

---------

Signed-off-by: ananzh <ananzh@amazon.com>
(cherry picked from commit b3104ce)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this issue Oct 10, 2023
* [BUG][Discover] Allow default columns settings

This is a missing functionality
* When user sets up `Default columns` in advanced settings, discover should display
default columns if the selected idp has the columns.
* If selected idp has no such columns, display `_source` column.

Issue Resolve
#5246

Signed-off-by: ananzh <ananzh@amazon.com>

* fix unit test

Signed-off-by: ananzh <ananzh@amazon.com>

---------

Signed-off-by: ananzh <ananzh@amazon.com>
(cherry picked from commit b3104ce)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ashwin-pc pushed a commit that referenced this issue Oct 10, 2023
* [BUG][Discover] Allow default columns settings

This is a missing functionality
* When user sets up `Default columns` in advanced settings, discover should display
default columns if the selected idp has the columns.
* If selected idp has no such columns, display `_source` column.

Issue Resolve
#5246



* fix unit test



---------


(cherry picked from commit b3104ce)

Signed-off-by: ananzh <ananzh@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ananzh pushed a commit that referenced this issue Oct 10, 2023
* [BUG][Discover] Allow default columns settings

This is a missing functionality
* When user sets up `Default columns` in advanced settings, discover should display
default columns if the selected idp has the columns.
* If selected idp has no such columns, display `_source` column.

Issue Resolve
#5246

---------


(cherry picked from commit b3104ce)

Signed-off-by: ananzh <ananzh@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working data explorer Issues related to the Data Explorer project discover for discover reinvent v2.11.0
Projects
None yet
Development

No branches or pull requests

2 participants