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] Can't see any field in Discover page: just the "_source" one #1117

Closed
q2dg opened this issue Jan 8, 2022 · 3 comments
Closed

[BUG] Can't see any field in Discover page: just the "_source" one #1117

q2dg opened this issue Jan 8, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@q2dg
Copy link

q2dg commented Jan 8, 2022

Describe the bug

I've correctly filled an Opensearch index using the bulk API. In fact, this index has a timestamp field which is correctly recognized when creating the index pattern in Dashboards. But if I select this field as the time reference, in Discover page I just can see "_source" field below "Selected fields" section and none below "Available fields".

The thing is that if I don't select any field as time reference when creating the index pattern, then in Discover page appear all the fields correctly but, of course, I haven't any time reference as my timestamp field is only "one more field" like the others, so I can't get any visual representation.

I don't think it is a Dashboards bug....surely I'm doing something wrong but if so, there should be a way to get right things done in a easier manner...In summary: my index has all the fields inside _source field (including timestamp's one) but I can't access to them from Discover and I don't know why.

Thanks a lot

NOTE: I'm using last Dashboard docker image currently available

@q2dg q2dg added bug Something isn't working untriaged labels Jan 8, 2022
@q2dg
Copy link
Author

q2dg commented Jan 11, 2022

I mean...why if I have stored documents like this in my OpenSearch server...

Captura de pantalla de 2022-01-11 12-20-04

...I just get this screen in OpenSearch Dashboards after specifying an index pattern where "timestamp" field is choosen as the time reference?

Captura de pantalla de 2022-01-11 12-20-49

Thanks!

@q2dg
Copy link
Author

q2dg commented Jan 13, 2022

@q2dg
Copy link
Author

q2dg commented Jan 13, 2022

Well, as it can be read in above link, the error was having arbitrary timestamps too many far away from past or from future. It cause Dashboards not to show any field in "Available fields" in "Discover" page. This behaviour misleads because at first it seems an indexing problem, but I recognize it was my fault. Thanks anyway.

@q2dg q2dg closed this as completed Jan 13, 2022
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
Add the debug state for partition charts with the following type signature:

fix opensearch-project#917
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
# [28.2.0](elastic/elastic-charts@v28.1.0...v28.2.0) (2021-04-15)

### Bug Fixes

* **xy:** consider `useDefaultGroupDomain` on scale config ([opensearch-project#1119](elastic/elastic-charts#1119)) ([269ff1a](elastic/elastic-charts@269ff1a)), closes [opensearch-project#1087](elastic/elastic-charts#1087)

### Features

* **a11y:** allow user to pass custom description for screen readers ([opensearch-project#1111](elastic/elastic-charts#1111)) ([a0020ba](elastic/elastic-charts@a0020ba)), closes [#1097](elastic/elastic-charts#1097)
* **partition:** add debuggable state ([opensearch-project#1117](elastic/elastic-charts#1117)) ([08f8baf](elastic/elastic-charts@08f8baf)), closes [opensearch-project#917](elastic/elastic-charts#917)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants