open-telemetry / opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
2.99k stars 2.32k forks source link

Add Dynamic index #34746

Open flenoir opened 1 month ago

flenoir commented 1 month ago

Component(s)

exporter/opensearch

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

I was using elasticsearch before but now i moved to opensearch. I wanted to use same dynamic index feature in order to create index per day. Unfortunately not possible with opensearch exporter. Will it be added in the futur ?

Describe the solution you'd like

adding dynamic index like in elasticsearch exporter

Describe alternatives you've considered

Is there another way to add this daily rotation in order to have index like "my_index-20608-2024" for example

Thanks

Additional context

none

github-actions[bot] commented 1 month ago

Pinging code owners:

JaredTan95 commented 1 month ago

you meaning logstash_format feature in elasticsearchexporter?