-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Spring data elasticsearch cannot create index of type Data Stream #2590
Comments
Spring Data Elasticsearch does not support the creation of data streams. And using a name like To add support for data streams, we'd need additional parameters in the |
Thank you @sothawo for the clear explanation. Agreed, some sort of |
Update two months after: It is confirmed Spring data elasticsearch cannot create index of type data stream. I did another test. Even if the data stream is created beforehand, meaning, the data stream is created prior to any spring data elasticsearch interaction, via the Index Management WebUI, or via curl, etc , spring data elasticsearch still cannot write into a data stream created (even if the data stream is already there)
Just wanted to add this observation to this enhancement request. Thank you |
Hello team,
I wanted to reach out with an issue observed while trying to use the method save() and/or saveAll() from spring data elasticsearch, when the index name is on purpose starting with logs-
What I would like to achieve please:
Using the methods save() and saveAll() from spring data elasticsearch, when on purpose, using this
I would expect the documents of type Foo to be saved/created as Data Stream (not just Index) in elasticsearch
Actual:
I am encountering this issue:
And as a result, the document does not end up as Data Stream.
Justification:
It can be interesting for spring data elastic search to save data as data streams. From official elasticsearch documentation, data streams are well suited for metrics, and logs type of data. But also, for some specific time series data.
If nothing from above, having a custom LogsPojo object to be saved as a data stream should be beneficial.
Issue:
Would it be possible to help on this issue, to allow saving to the data stream (not index) logs-foo?
Thank you
The text was updated successfully, but these errors were encountered: