title: Issue while connecting Graylog server to Elastic Search
body: <p>Hi my configurations are:</p>
  
  <p>elasticsearch.yml :</p>
  
  <pre><code>cluster.name: graylog2
  node.master: true
  node.data: true
  bootstrap.mlockall: true
  ES_HEAP_SIZE: 8192 (@ 16GB memory)
  network.bind_host: 127.0.0.1
  script.disable_dynamic: true
  </code></pre>
  
  <p>graylog2.conf :</p>
  
  <pre><code>is_master = true
  node_id_file = /etc/graylog2-server-node-id
  password_secret=something
  root_password_sha2=something
  plugin_dir = plugin
  rest_listen_uri = http://127.0.0.1:12900/
  rest_transport_uri = http://127.0.0.1:12900/
  elasticsearch_shards = 1
  elasticsearch_index_prefix = graylog2
  elasticsearch_cluster_name = graylog2
  elasticsearch_discovery_zen_ping_multicast_enabled = false
  elasticsearch_discovery_zen_ping_unicast_hosts = 127.0.0.1:9300
  </code></pre>
  
  <p>I am trying to install in my apache localhost.</p>
  
  <p>When I check using curl -XGET '<a href="http://localhost:9200/_cluster/health?pretty=true" rel="nofollow">http://localhost:9200/_cluster/health?pretty=true</a>'</p>
  
  <p>The output I get is :</p>
  
  <pre><code> {
    "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
  }
  </code></pre>
  
  <p>I have followed the tutorial <a href="https://www.digitalocean.com/community/tutorials/how-to-install-graylog2-and-centralize-logs-on-ubuntu-14-04" rel="nofollow">https://www.digitalocean.com/community/tutorials/how-to-install-graylog2-and-centralize-logs-on-ubuntu-14-04</a></p>
  
  <p>OUTPUT:
  2016-01-18 18:45:53,221 WARN : org.elasticsearch.discovery.zen - [graylog2-server] failed to connect to master [[Sunpyre][l1hOltklR-OIeBq7dcPR9g][inet[/172.16.1.169:9300]]{master=true}], retrying...
  org.elasticsearch.transport.ConnectTransportException: [Sunpyre][inet[/172.16.1.169:9300]] connect_timeout[30s]</p>
  
  <p>2016-01-18 18:45:53,221 WARN : org.elasticsearch.discovery.zen - [graylog2-server] failed to connect to master [[Sunpyre][l1hOltklR-OIeBq7dcPR9g][inet[/172.16.1.169:9300]]{master=true}], retrying...
  org.elasticsearch.transport.ConnectTransportException: [Sunpyre][inet[/172.16.1.169:9300]] connect_timeout[30s]</p>
  
  <p><strong>ERROR: Could not successfully connect to ElasticSearch. Check that your cluster state is not RED and that ElasticSearch is running properly.</strong></p>