Skip to content

Exporter/opensearch: logstash_format or something similar #31316

Closed as not planned
@simoncrowe

Description

@simoncrowe

Component(s)

exporter/opensearch

Is your feature request related to a problem? Please describe.

I order to make use of OpenSearch index state management policies, it is useful to be able add a YYYY.MM.DD suffix to indexes.

Describe the solution you'd like

I would like the same logstash_format configuration as elasticsearchexporter.

Alternatively, if feature parity for logstash_format doesn't make sense, I'd like some other way of adding a date suffix to indexes.

Describe alternatives you've considered

My current workaround is to set the namespace of the opensearch log exporter to the current date whenever the OTel collector helm chart is installed/updated. Installs normally happen a few times daily so it's good enough to break up the index for state (lifecycle) management.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions