README.md in logstash-output-amazon_es-2.0.1-java vs README.md in logstash-output-amazon_es-6.0.0

- old
+ new

@@ -1,25 +1,27 @@ # Logstash Plugin This is a plugin for [Logstash](https://github.com/elastic/logstash). -It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way. +## License +This library is licensed under the Apache 2.0 License. + # Setting Up ## Installation One command installation -`bin/plugin install logstash-output-amazon_es` +`bin/logstash-plugin install logstash-output-amazon_es` While we are in the process of getting this plugin fully integrated within logstash to make installation simpler, if above does not work, or you would like to patch code here is a workaround to install this plugin within your logstash: 1. Check out/clone this code from github 2. Build plugin using - `gem build logstash-output-amazon_es.gemspec` ( this works with jruby and rubygem versions > 1.9) 3. Install plugin using `<logstash-home>/bin/plugin install logstash-output-amazon_es-0.2.0-java.gem` (or the non java variant) 4. For 2.3 support, please use '<logstash-home>/bin/logstash-plugin install logstash-output-amazon_es-1.0-java.gem' -5. For 5.2 support, please use '<logstash-home>/bin/logstash-plugin install logstash-output-amazon_es-2.0.0-java.gem' +5. For 5.2 support, please use '<logstash-home>/bin/logstash-plugin install logstash-output-amazon_es-2.0.1-java.gem' ## Configuration for Amazon Elasticsearch Output plugin To run the Logstash output Amazon Elasticsearch plugin simply add a configuration following the below documentation. @@ -27,15 +29,15 @@ output { amazon_es { hosts => ["foo.us-east-1.es.amazonaws.com"] region => "us-east-1" - # aws_access_key_id, aws_secret_access_key optional if instance profile is configured - aws_access_key_id => 'ACCESS_KEY' - aws_secret_access_key => 'SECRET_KEY' - index => "production-logs-%{+YYYY.MM.dd}" - } - } + # aws_access_key_id, aws_secret_access_key optional if instance profile is configured + aws_access_key_id => 'ACCESS_KEY' + aws_secret_access_key => 'SECRET_KEY' + index => "production-logs-%{+YYYY.MM.dd}" + } + } * Required Parameters * hosts (array of string) - Amazon Elasticsearch domain endpoint. eg ["foo.us-east-1.es.amazonaws.com"] * region (string, :default => "us-east-1") - region where the domain is located