Skip to content

Provide possibility to use Elasticsearch Data Stream #697

Closed
@schaenzer

Description

@schaenzer

Is your feature request related to a problem? Please describe.
Elasticsearch has introduced Data stream in version 7.9 [1], which provides a simple way to utilize ILM on time series data. Data streams can unfortunately not be used in the current release because on a data stream the methods to add documents to an index are limited. [2]

Describe the solution you'd like
The plugin fluent-plugin-elasticsearch supports data streams from version 5. [3] Therefore the plugin should be updated to the current version and the corresponding output type should be made usable.

Describe alternatives you've considered
An alternative would be to utilise write_operation: create, however this requires that the key _id must be set or generated. For the generation the plugin fluent-plugin-elasticsearch provides in the current used version a filter type. This filter cannot be used in the current release of logging-operator. As an alternative to the proposed solution, this filter could be made available to make the data stream usable

Additional context
[1] https://www.elastic.co/guide/en/elasticsearch/reference/7.9/release-highlights.html#_data_streams
[2] https://www.elastic.co/guide/en/elasticsearch/reference/7.11/use-a-data-stream.html#add-documents-to-a-data-stream
[3] https://github.com/uken/fluent-plugin-elasticsearch/tree/v5.0.0#configuration---elasticsearch-output-data-stream
[4] https://github.com/uken/fluent-plugin-elasticsearch/tree/v4.3.3#generate-hash-id

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions