Skip to content
Discussion options

You must be logged in to vote

👋 Hello

Inspecting the code a bit and also from

https://vector.dev/docs/reference/configuration/sinks/elasticsearch/#data_stream.auto_routing

Automatically routes events by deriving the data stream name using specific event fields with the data_stream.type-data_stream.dataset-data_stream.namespace format.

, it appears that even if the datastream type and namespace are configured to empty strings, that you will still have those dashes in the stream name.
Unless I'm missing something, the closest I think we can get with the current logic in Vector would be "-applicationname.environment-".
It is not clear to me why the dashes are always used. It could have been just an oversight.
Since you …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@neuronull
Comment options

@minimax75
Comment options

@jszwedko
Comment options

@nghiand16-vpbank
Comment options

@jszwedko
Comment options

Answer selected by jszwedko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants