If you'd rather install a different version, you can search the available packages and pick the one you prefer (command output has been filtered for brevity): To install OpenJDK on FreeBSD you can use pkg to install a ready-to-use binary package:Ĭurrently, this command will install an instance of OpenJDK v. The former is required because LogStash is a JRuby application while the latter, although not technically a requirement, is the recommended output for Logstash. The essential prerequisites required to execute Logstash are:
Skimming through the original post is recommended because it provides general information about Logstash and FreeBSD which is required to properly plan and execute a Logstash setup. Also, the pull request solving a JRuby bug on FreeBSD has been merged to upstream and will hopefully hit a Logstash release soon. In the meantime you can use an updated FreeBSD port I've created to install Logstash on FreeBSD 10.Įdit: The Logstash port has been updated and I'm the new maintainer. But while this could be used as a starting point for JAR-based Logstash installations (as we have seen, the update process only required updating the Logstash JAR), this is not possible with the new Logstash distribution because the included rc script will fail to work.Įdit: I've managed to patch the broken Logstash dependency and I'm waiting for the pull request to be merged upstream. Further information about the new distribution layout can be found in the Logstash release notes.Īs seen in the previous post, a Logstash FreeBSD port exists, but it is currently outdated since it bundles Logstash v. As a consequence, new instructions are required to properly setup Logstash in FreeBSD and registering it as a service. Until version 1.3 included, Logstash was distributed as a single JAR file, and when version 1.4 was released a new packaging style was introduced.
#FREEBSD OPENJDK 7 UPDATE HOW TO#
1.3 and previous) on FreeBSD and in this post I will describe how to install Logstash v.
In a previous post I described how to install Logstash (v.