-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to install custom template to aws elasticsearch #101
Comments
According to the error message, it should use absolute path. What's your config file looks like? |
My config file looks like this for the output:
I use my IAM role to get my AWS id and secret |
Hi jjnajera: |
The path to the template in my config file is already the absolute path. The plugin is able to locate my template file, but fails to install it in my elasticsearch instance because I think the URI that is being built is wrong. I notice in the I changed the path for template_put function to |
Hi jjnajera: |
Not sure this has been fixed. I just installed today and ran into this error. Had to manually update the package with fix from @jjnajera. |
thanks @jjnajera that suggestion worked for me as well! |
I install the plugin using |
Did u build the plugin on your own ? i still see this issue with logstash 6.4.2 & plugin 6.4.0 |
had the same issue but fixed by updating: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-output-amazon_es-6.4.0-java/lib/logstash/outputs/amazon_es/http_client.rb change:
to be:
in the template_put function. |
Bump bugfix for Issues: * awslabs#105 * awslabs#101
ANy update on when this is coming out? I am also experiencing this issue with logstash-output-amazon_es version 6.4.0 |
6.4.1 hasn't been pushed yet: https://rubygems.org/gems/logstash-output-amazon_es Any update? |
Programmatic hack for future self:
puppet code:
This is surgical enough to only make the change if the prefixed |
I released 6.4.1 today which has the patch. Can you please let me know if this is still causing trouble |
@malpani I'm facing the same issue with 6.4.1 and 6.4.2 |
@jjnajera I tried fix with ES=6.5.0 , LS=6.5.0 and logstash-output-amazon_es = 6.4.0 & 6.4.1 but its the same error. can you please provide the combination that worked for you. I am trying to upgrade our ES=5.5 to 6+ version. |
The new version of the plugin (6.4.0) is failing to install my custom template to my elasticsearch in AWS. I'm using a docker container with logstash, version 6.3.2), installed. I get the failing error message:
I have also tried using version 6.4.1 of logstash and still get the same error. I don't know if the path used to install the template should be
/_template/#{name}
instead of_template/#{name}
in the http_client.rb file (line 363).The text was updated successfully, but these errors were encountered: