Add default_output elasticsearch for fluentd
Change-Id: I4ac771573a33e003fe360b7a20c59194497ed4a5
diff --git a/fluentd/label/default_output/elasticsearch.yml b/fluentd/label/default_output/elasticsearch.yml
new file mode 100644
index 0000000..3c26d15
--- /dev/null
+++ b/fluentd/label/default_output/elasticsearch.yml
@@ -0,0 +1,15 @@
+classes:
+- service.fluentd.agent.output.elasticsearch
+parameters:
+ _params:
+ fluentd_elasticsearch_host: 127.0.0.1
+ elasticsearch_port: 9200
+ fluentd:
+ agent:
+ config:
+ label:
+ default_output:
+ match:
+ elasticsearch_output:
+ host: ${_param:fluentd_elasticsearch_host}
+ port: ${_param:elasticsearch_port}