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] Error on every request in observability logs app after upgrade #478

Open
samm-git opened this issue May 16, 2023 · 4 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@samm-git
Copy link

Describe the bug

After upgrade to the v 2.7.0 every time i am using Observability -> Logs menu i am getting

Unable to get default timestamp

options is undefined

error message. Discovery and notebook seem to be not impacted

To Reproduce
Steps to reproduce the behavior:

  1. Go to Observability->Logs
  2. Click on PPL window and type some query with a valid source
  3. Run query
  4. See error

Additionally, if I am clicking on the details I see such trace:

addError@https://opensearch.tools.example.local/6100/bundles/core/core.entry.js:15:635088
_callee$@https://opensearch.tools.example.local/6100/bundles/plugin/observabilityDashboards/observabilityDashboards.chunk.4.js:1:7454
tryCatch@https://opensearch.tools.example.local/6100/bundles/plugin/observabilityDashboards/observabilityDashboards.chunk.3.js:625:70467
invoke@https://opensearch.tools.example.local/6100/bundles/plugin/observabilityDashboards/observabilityDashboards.chunk.3.js:625:74491
defineIteratorMethods/</<@https://opensearch.tools.example.local/6100/bundles/plugin/observabilityDashboards/observabilityDashboards.chunk.3.js:625:71662
asyncGeneratorStep@https://opensearch.tools.example.local/6100/bundles/plugin/observabilityDashboards/observabilityDashboards.chunk.4.js:1:2978
_next@https://opensearch.tools.example.local/6100/bundles/plugin/observabilityDashboards/observabilityDashboards.chunk.4.js:1:3307

Expected behavior
No error is shown

OpenSearch Version

opensearch:2.7.0 from the opensearchproject/opensearch:2.7.0 container

Dashboards Version
v2.7.0 from the opensearchproject/opensearch-dashboards:2.7.0 container

Plugins

Standard list of plugins from the helm installation

Host/Environment (please complete the following information):

  • OS: macOS 13.3.1
  • Firefox 113.0.1 (64-bit), however been able to reproduce issue on Chrome as well

Additional context

The error comes after upgrade from the previous version. Also, ML is not enabled but in the network tab of the browser i see that dashboard is trying to use ad function, what could be a possible cause

@samm-git samm-git added bug Something isn't working untriaged labels May 16, 2023
@zhongnansu
Copy link
Member

@pjfitzgibbons should this be transferred to observability repo? Could you take a look?

@joshuarrrr
Copy link
Member

@opensearch-project/triage Please transfer to https://github.com/opensearch-project/dashboards-observability

@peterzhuamazon peterzhuamazon transferred this issue from opensearch-project/OpenSearch-Dashboards May 22, 2023
@mengweieric
Copy link
Collaborator

@samm-git, thanks for reporting this issue. Could you provide more details on datasource/index you were querying against? Does it contain a valid timestamp?

@mengweieric mengweieric self-assigned this May 24, 2023
@vinylen
Copy link

vinylen commented May 21, 2024

For what it's worth, this is still an issue with OpenSearch 2.10.0

Steps:

  1. Go to observability - Logs
  2. Enter source = container-prod* | where container.name="opensearch"
  3. Hit refresh
  4. Documents are showing as expected, yet an error appears where it says this:

image

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

5 participants