Skip to content

Document LS output changes necessary and how it works with curator + rollover API setup #575

@ppf2

Description

@ppf2

On the curator side, ES rollover API support has been added to master (and will be available in a 5.x curator version in the future).

We will have a lot of questions on what it means for Logstash since by default Logstash rolls indices every day and these are created as actual indices via the ES output, while the rollover API based on rolling aliases to a new index.

This generally means that if users use the upcoming/new curator+rollover feature, they are effectively "outsourcing" the index rolling feature of Logstash to the curator, i.e. they will have to create an alias ahead of time to point to an index (single index only), and set it to be the index name for the LS ES output (instead of having LS roll new indices), and then schedule the curator to run regularly to check for when it needs to roll a new timebased index based on max_age or max_docs.

It will be nice to document this Logstash use case with curator rollover api support. I am not sure where this information should go, but having something in the LS ES output documentation can be useful since they can't really make use of the curator+rollover feature unless they reconfigure the LS ES output to stop it from rolling indices automatically. Having similar use case description in the curator docs will also be helpful. But I will let you (@suyograo @untergeek) determine the appropriate place(s) to add this information :)

Or maybe the right way to approach this is to add rollover support directly to LS ES output? But until that is available, having some documentation available to go with the release timeframe for Curator 5.0 (when we add rollover support) will be helpful.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions