Skip to content

Need to set the defaultIndex per tenant to container-logs-* to avoid errors switching tenants #174

@tobybellwood

Description

@tobybellwood

The default behaviour of Opensearch is to set the default index for a tenant to the first index discovered (here)

Defines the default index for all indexes in an OpenSearch cluster. If no indexes are added, defaultIndex is set to null. However, if one or more indexes are added, defaultIndex is assigned the value of the first index in the list. Default is null.

This causes issues switching between tenants whilst in "discover" mode because we've often created the index patterns before there is data in the indexes, which causes OpenSearch Dashboards to error as the default index doesn't have a timestamp field

Image

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