Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Upgrade to 1.5 #421

Open
sisense-dev opened this issue Jul 20, 2015 · 4 comments
Open

Upgrade to 1.5 #421

sisense-dev opened this issue Jul 20, 2015 · 4 comments

Comments

@sisense-dev
Copy link

I tried to change the version to 1.5.
It seems that there are some broken things:

  • the source_url changed.
  • i couldn't run logstash as a service, i guess the problem is related to the changes in the plugins
@maoo
Copy link

maoo commented Jul 23, 2015

I managed to get 1.5 working using the following default attributes

default['logstash']['version'] = '1.5.2'
default['logstash']['instance_default']['java_home']  = '/usr/lib/jvm/jdk1.7.0_75'

default['logstash']['instance_default']['version'] = node['logstash']['version']
default['logstash']['instance_default']['source_url'] = "https://download.elasticsearch.org/logstash/logstash/logstash-#{node['logstash']['version']}.tar.gz"
default['logstash']['instance_default']['checksum'] = '1d1805d388392a69f5049b35c176186389a7f8bf7347c4528c255edc1f9b0d6a'

I also had to change the following in runit run script - https://github.com/Alfresco/chef-logstash/commit/c6d07f44243d9aab5546693920cbd7b59443071e

However I'm currently stuck on plugin installation, as Logstash 1.5 introduces a new mechanism. I'll work on PR.

@ghost
Copy link

ghost commented Jul 29, 2015

It looks like --pluginpath is supported again as of 1.5.3 - https://github.com/elastic/logstash/blob/master/CHANGELOG.md

@maoo
Copy link

maoo commented Jul 30, 2015

Thank you @cmjosh, I got logstash 1.5.3 working using master branch of this cookbook (see #422)

@akshah123
Copy link
Contributor

👍 it would be great to be upgrade to 1.5 version as logstash 1.4 keeps hanging around some JSON messages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants