lib/fluent/plugin/out_elasticsearch_dynamic.rb in fluent-plugin-elasticsearch-5.2.0 vs lib/fluent/plugin/out_elasticsearch_dynamic.rb in fluent-plugin-elasticsearch-5.2.1
- old
+ new
@@ -26,9 +26,11 @@
value = expand_param(self.instance_variable_get(var), nil, nil, nil)
key = DYNAMIC_PARAM_NAMES[i]
@dynamic_config[key] = value.to_s
}
# end eval all configs
+
+ log.warn "Elasticsearch dynamic plugin will be deprecated and removed in the future. Please consider to use normal Elasticsearch plugin"
end
def create_meta_config_map
{'id_key' => '_id', 'parent_key' => '_parent', 'routing_key' => @routing_key_name}
end