-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for ES datastream with empty namespace or dataset #17883
Labels
sink: elasticsearch
Anything `elasticsearch` sink related
type: feature
A value-adding code addition that introduce new functionality.
Comments
Hexta
added
the
type: feature
A value-adding code addition that introduce new functionality.
label
Jul 6, 2023
Thanks for pointing this out. This should be a relatively straightforward fix. vector/src/sinks/elasticsearch/config.rs Line 464 in e9f21a9
|
Hexta
added a commit
to Hexta/vector
that referenced
this issue
Aug 9, 2023
Add support for ES datastream with empty namespace or dataset. closes: vectordotdev#17883 Signed-off-by: Artur Malchanau <artur.molchanov@bolt.eu>
Hexta
added a commit
to Hexta/vector
that referenced
this issue
Aug 9, 2023
Add support for ES datastream with empty namespace or dataset. closes: vectordotdev#17883 Signed-off-by: Artur Malchanau <artur.molchanov@bolt.eu>
github-merge-queue bot
pushed a commit
that referenced
this issue
Aug 10, 2023
) enhancement(elasticsearch sink): Allow empty data_stream fileds Add support for ES datastream with empty namespace or dataset. closes: #17883 Signed-off-by: Artur Malchanau <artur.molchanov@bolt.eu>
neuronull
pushed a commit
that referenced
this issue
Aug 16, 2023
) enhancement(elasticsearch sink): Allow empty data_stream fileds Add support for ES datastream with empty namespace or dataset. closes: #17883 Signed-off-by: Artur Malchanau <artur.molchanov@bolt.eu>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
sink: elasticsearch
Anything `elasticsearch` sink related
type: feature
A value-adding code addition that introduce new functionality.
A note for the community
Use Cases
There is already existing ES index named
logs-frontend
.We need to configure Vector to send logs to this index.
Attempted Solutions
Configuring
data_stream.namespace = ""
leads in ES index namelogs-frontend-
instead oflogs-frontend
Proposal
Replace fixed index name format
type-dataset-namespace
with:type-dataset
type
Check invariants:
namespace
requires non-emptytype
anddataset
dataset
requires non-emptytype
References
No response
Version
0.30.0
The text was updated successfully, but these errors were encountered: