Skip to content

[BUG] ReferenceError: _ is not defined in Logs Explorer #2620

@ehicks-portrait

Description

@ehicks-portrait

What is the bug?
When running a PPL search in Logs > Event Explorer, I get the following JavaScript console error. Results appear in the response for the /search HTTP request, but the UI does not show any events.

observabilityDashboards.plugin.js:1 ReferenceError: _ is not defined
    at addSchemaRowMapping (observabilityDashboards.plugin.js:1:12895074)
    at dispatchOnGettingHis (observabilityDashboards.plugin.js:1:12895667)
    at observabilityDashboards.plugin.js:1:12901029
    at Object.next (osd-ui-shared-deps.js:1:7836889)
    at asyncGeneratorStep (observabilityDashboards.plugin.js:2:1214029)
    at _next (observabilityDashboards.plugin.js:2:1214344)
    at observabilityDashboards.plugin.js:2:1214496
    at new Promise (<anonymous>)
    at observabilityDashboards.plugin.js:2:1214255
    at observabilityDashboards.plugin.js:1:12901656

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

  1. Go to Observability > Logs > Event Explorer.
  2. Enter an index pattern (e.g. source=ss4o_logs-otel-*.
  3. Click "Run."

What is the expected behavior?
Expected results to show up in the UI.

What is your host/environment?

  • OS: Debian Linux
  • OpenSearch version: 3.5.0
  • Lucense version: 10.3.2
  • Plugin: observabilityDashboards@3.5.0
  • Browser: Chrome 145.0.7632.162

Do you have any screenshots?
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions