Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I want to get this going.
Has anyone set this up before?
What kind of server load? Is it resource heavy? Anything noteworthy?
@kellen: With the default settings, you need a 2GB VPS to get all of the components running. Initial RAM utilization is about 1 GB total, but it goes up as you use Elasticsearch more. When writing this tutorial, I added ~10 servers to monitor and it was fine (total utilization around 1.7GB RAM after monitoring and searching the data for a few days).
If you are going to monitor a lot of systems, Elasticsearch will use more RAM (and disk) and the graylog2-server will use more CPU. You may want to separate the components to multiple servers (especially Elasticsearch) if you are planning on monitoring a significant number of servers. Also, the web interface uses a non-trivial amount of RAM (a couple hundred MB), but I don’t think its resource utilization increases at the same rate as the other two components.
You have a minor typo for installing pwgen. It should be this: sudo apt-get install pwgen
@chip: Actually on Ubuntu 14.04, you can now just run: <pre> sudo apt install pwgen </pre> But I’ll update it above for backwards compatibility.
catch exception from graylog2-server: node is not configured to store local location. http://localhost:9200/_cluster/health?pretty=true { “cluster_name” : “graylog2”, “status” : “green”, “timed_out” : false, “number_of_nodes” : 1, “number_of_data_nodes” : 1, “active_primary_shards” : 0, “active_shards” : 0, “relocating_shards” : 0, “initializing_shards” : 0, “unassigned_shards” : 0 }
@kein.1945: I’m unable to reproduce that issue. Which version of Elasticsearch are you running?
@kein.1945: Graylog2 0.20.2 requires Elasticsearch v.0.90.10. Check the Install Elasticsearch section for details on how to install.
First time working with Graylog2… unable to get successful response from server test string you have listed ( sudo java -jar /opt/graylog2-server/graylog2-server.jar --debug ). I get an error - could not connect to ElasticSearch. Here is an example of the output:
2014-07-28 14:14:57,649 DEBUG: org.elasticsearch.transport.netty - [graylog2-server] Bound to address [/0:0:0:0:0:0:0:0:9350]
2014-07-28 14:14:57,652 INFO : org.elasticsearch.transport - [graylog2-server] bound_address {inet[/0:0:0:0:0:0:0:0:9350]}, publish_address {inet[/10.1.7.60:9350]}
2014-07-28 14:15:00,661 WARN : org.elasticsearch.discovery - [graylog2-server] waited for 3s and no initial state was set by the discovery
2014-07-28 14:15:00,662 INFO : org.elasticsearch.discovery - [graylog2-server] graylog2/ipZqsXM5QeuwVOfMDFwZuA
2014-07-28 14:15:00,662 DEBUG: org.elasticsearch.gateway - [graylog2-server] can’t wait on start for (possibly) reading state from gateway, will do it asynchronously
2014-07-28 14:15:00,663 INFO : org.elasticsearch.node - [graylog2-server] started
2014-07-28 14:15:00,683 DEBUG: org.elasticsearch.discovery.zen - [graylog2-server] filtered ping responses: (filter_client[true], filter_data[false]) –> target [[Angel][acpaFxrCQdCoexAg3S_PBA][inet[/10.1.7.60:9300]]], master [[Angel][acpaFxrCQdCoexAg3S_PBA][inet[/10.1.7.60:9300]]]
2014-07-28 14:15:00,708 WARN : org.elasticsearch.discovery.zen - [graylog2-server] failed to connect to master [[Angel][acpaFxrCQdCoexAg3S_PBA][inet[/10.1.7.60:9300]]], retrying… org.elasticsearch.transport.ConnectTransportException: [Angel][inet[/10.1.7.60:9300]] connect_timeout[30s]
I was able to get this running following your post previously but not I can’t for some reason. Thoughts?!
Thanks for the post!
scripts for automatization installation on ubuntu:
https://github.com/mrlesmithjr/graylog2/blob/master/install_graylog2_20_ubuntu.sh