Hi Richard,

the Graylog web interface (in version 2.x) has been designed to be a 
single-page application (SPA) which, once it has been loaded by the user's 
web browser, will only communicate with the Graylog REST API.

You can override the default URI the web interface is using with the 
web_endpoint_uri setting or the X-Graylog-Server-URL HTTP request header, 
see 
http://docs.graylog.org/en/2.1/pages/configuration/web_interface.html#how-does-the-web-interface-connect-to-the-graylog-server
 
for details.

In general, rest_transport_uri should be the URI of the Graylog REST API, 
which other Graylog nodes are able to connect to (i. e. not the URI of your 
load balancer), while web_endpoint_uri should be the URI of the Graylog 
REST API, which the web interface should connect to (i. e. the URI of your 
load balancer).

Cheers,
Jochen

On Wednesday, 4 January 2017 07:13:01 UTC+1, Richard S. Westmoreland wrote:
>
> I've just figured out how to get my reverse proxy working properly to 
> fully support the web client, but it leads me to another dilemma.  When the 
> JS application loads, it tries to talk to the REST API URI rather than just 
> the Web API URI.  This poses a problem when I want to publicly expose and 
> proxy the web interface, but not the main rest interface (or vice versa).  
> I have to set both the web_endpoint_uri and rest_transport_uri to the same 
> domain due to use of https.  This means that all of my graylog nodes are 
> going to try and connect to my public IP which is then handled by my 
> reverse proxy and has to redistribute again - which causes an unnecessary 
> resource bottleneck on my main node running the reverse proxy.
>
> So my feature request is that the JS client only ever talks to the api via 
> web_endpoint_uri.  That way the web and rest can be setup for different use 
> cases.
>
> Thanks
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/17cfe6af-3e9f-45bc-89ce-14763cb1a52c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to