Skip to content
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

Provide the index codec configuration for logstash-output-amazon_es plugin #152

Open
snowmigrator opened this issue Mar 5, 2020 · 0 comments

Comments

@snowmigrator
Copy link

Currently we can specify the "index.codec" parameter while creating an index or using template. For example:
PUT _template/log
{
"index_patterns": ["logs-*"],
"settings":{
"index.codec": "best_compression"
}
}

Can we provide the index settings (particularly the index.codec option) in logstash-output-amazon_es output? It should look something like this:

output {
amazon_es {
hosts => "<%= @es_endpoint %>"
region => "<%= @region %>"
index => "logs-%{+YYYY.MM.dd}"
index_settings => "codec="best_compression", number_of_replicas="2""
retry_max_interval => 30
retry_on_conflict => 3
}
}

The plugin in will create the index in any event so I was wondering why we can't provide index.codec option.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant