Graylog 3.x How to compile from source

Before following this guide, you need to have setup an SSH key and added this to your Github account.  If you are unsure of how to so this please see this guide

  1. Install Openjdk 8, maven and webpack:

sudo apt install openjdk-8-jre openjdk-8-jdk maven webpack

2. Install the Graylog CLI Development tool:
This tool is available here:

At the time of writing this is the latest version:


mv graylog-project.linux /usr/local/bin/graylog-project

chmod 755 /usr/local/bin/graylog-project

3. Initialise/download/bootstrap the graylog sources/project:
cd /path/to/empty/folder

graylog-project bootstrap github://Graylog2/graylog-project.git

After this has completed you should be left with two folders, graylog-project and graylog-project-repos.

4. Compile Graylog
cd graylog-project

mvn package
Depending on your computer this can take a while.

You May Also Like

About the Author: trader418

Leave a Reply

Your email address will not be published. Required fields are marked *