Skip to content

Allow index pattern with no matching data #35898

@ogupte

Description

@ogupte

Describe the feature:
Allow index patterns to be created without matching indices, so that the messaging doesn't appear to be an error.

Describe a specific use case for the feature:
Right now APM automatically creates the apm index pattern on server startup if it doesn't already exist. The goal is to make the query bar in the APM UI, which relies on the index pattern, work automatically.

If that happens on a fresh instance without any data, the user sees this messaging:
image
It indicates that something is wrong, when there's really no error.

To reproduce: start kibana 7.2 snapshot or newer with a fresh elasticsearch and navigate to discover.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions