Hi all,
I’ve managed to get Graylog running on a server and the Graylog Web Interface loads as expected using an internal IP address but shows a blank screen when using our external IP address (http: //178.238.141.207:9000). Any idea what may be causing the issuing? Perhaps something that I’ve omitted in the server.conf file. I’ve provided an error snapshot here.
Below is snippet of the server.conf which I believe is the relevant section.
#### HTTP bind address # # The network interface used by the Graylog HTTP interface. # # This network interface must be accessible by all Graylog nodes in the cluster and by all clients # using the Graylog web interface. # # If the port is omitted, Graylog will use port 9000 by default. # http_bind_address = 0.0.0.0:9000 #### HTTP publish URI # # The HTTP URI of this Graylog node which is used to communicate with the other Graylog nodes in the cluster and by $ # clients using the Graylog web interface. # # The URI will be published in the cluster discovery APIs, so that other Graylog nodes will be able to find and conn$ # # This configuration setting has to be used if this Graylog node is available on another network interface than $htt$ # for example if the machine has multiple network interfaces or is behind a NAT gateway. # # If $http_bind_address contains a wildcard IPv4 address (0.0.0.0), the first non-loopback IPv4 address of this mach$ # This configuration setting *must not* contain a wildcard address! # # Default: http ://$http_bind_address/ #http_publish_uri = http ://178.238.141.207:9000/ #### External Graylog URI # # The public URI of Graylog which will be used by the Graylog web interface to communicate with the Graylog REST API. # # The external Graylog URI usually has to be specified, if Graylog is running behind a reverse proxy or load-balancer # and it will be used to generate URLs addressing entities in the Graylog REST API (see $http_bind_address). # # When using Graylog Collector, this URI will be used to receive heartbeat messages and must be accessible for all c$ # # This setting can be overriden on a per-request basis with the "X-Graylog-Server-URL" HTTP request header. # # Default: $http_publish_uri #http_external_uri = http ://178.238.141.207:9000/ #### Enable CORS headers for HTTP interface # # This is necessary for JS-clients accessing the server directly. # If these are disabled, modern browsers will not be able to retrieve resources from the server. # This is enabled by default. Uncomment the next line to disable it. #http_enable_cors = false #### Enable GZIP support for HTTP interface # # This compresses API responses and therefore helps to reduce # overall round trip times. This is enabled by default. Uncomment the next line to disable it. #http_enable_gzip = false # The maximum size of the HTTP request headers in bytes. #http_max_header_size = 8192 # The size of the thread pool used exclusively for serving the HTTP interface. #http_thread_pool_size = 16 ################ # HTTPS settings ################
HTTP bind address
The network interface used by the Graylog HTTP interface.
This network interface must be accessible by all Graylog nodes in the cluster and by all clients
using the Graylog web interface.
If the port is omitted, Graylog will use port 9000 by default.
http_bind_address = 0.0.0.0:9000
HTTP publish URI
The HTTP URI of this Graylog node which is used to communicate with the other Graylog nodes in the cluster and by $
clients using the Graylog web interface.
The URI will be published in the cluster discovery APIs, so that other Graylog nodes will be able to find and conn$
This configuration setting has to be used if this Graylog node is available on another network interface than $htt$
for example if the machine has multiple network interfaces or is behind a NAT gateway.
If $http_bind_address contains a wildcard IPv4 address (0.0.0.0), the first non-loopback IPv4 address of this mach$
This configuration setting must not contain a wildcard address!
Default: http ://$http_bind_address/
#http_publish_uri = http ://178.238.141.207:9000/
External Graylog URI
The public URI of Graylog which will be used by the Graylog web interface to communicate with the Graylog REST API.
The external Graylog URI usually has to be specified, if Graylog is running behind a reverse proxy or load-balancer
and it will be used to generate URLs addressing entities in the Graylog REST API (see $http_bind_address).
When using Graylog Collector, this URI will be used to receive heartbeat messages and must be accessible for all c$
This setting can be overriden on a per-request basis with the “X-Graylog-Server-URL” HTTP request header.
Default: $http_publish_uri
#http_external_uri = http ://178.238.141.207:9000/
Enable CORS headers for HTTP interface
This is necessary for JS-clients accessing the server directly.
If these are disabled, modern browsers will not be able to retrieve resources from the server.
This is enabled by default. Uncomment the next line to disable it.
#http_enable_cors = false
Enable GZIP support for HTTP interface
This compresses API responses and therefore helps to reduce
overall round trip times. This is enabled by default. Uncomment the next line to disable it.
#http_enable_gzip = false
The maximum size of the HTTP request headers in bytes.
#http_max_header_size = 8192
The size of the thread pool used exclusively for serving the HTTP interface.
#http_thread_pool_size = 16
Your help and input would be greatly appreciated. If you need any more information regarding the above then please let me know and I’ll be willing to assist.
Best regards,
Mike.