elasticcsearch exporter dynamic trace index creation #27905
Unanswered
ahsanashraf918
asked this question in
Q&A
Replies: 2 comments
-
it is implementable. however if you want to append date as suffix, I would recommend you to use data stream feature of elasticsearch. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, I have a question regarding log indexing in OpenTelemetry(elasticsearch). I would like to configure my logs so that a new log index is created each day, following a format like: logs-01012025 Thank you for your help! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to ingest traces into Elasticsearch and ensure that the trace index name includes the current date as a suffix. This way, a new index is created every day. I found the repository where the suffix is configured, which can be seen at the following link:
OpenTelemetry Collector Elasticsearch Exporter - Line 99
how can i achieve it? like test_23-Occt-2023 and so on
my values are like:
Beta Was this translation helpful? Give feedback.
All reactions