Closed sstarcher closed 8 years ago
Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.
@jchauncey is a potential reviewer of this pull request based on my analysis of git blame
information. Thanks @sstarcher!
It looks like #60 accomplishes the same thing. I do think it would be preferable for all users of ES to turn the value on by default.
Turn on logstash_format for elasticsearch output to make it more compatible with kibana. This will change the default index from fluentd to
logstash-YYYY.MM.DD
. This is the default elasticsearch format and is also what Kubernetes fluentd setup also uses.Docs are - https://github.com/uken/fluent-plugin-elasticsearch#logstash_format Kubernetes setup - https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/fluentd-elasticsearch/fluentd-es-image/td-agent.conf#L259
This makes the ES output much more useful with Kibana.