You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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!
The text was updated successfully, but these errors were encountered: