After upgrading and reconfiguring my apache proxy for the new 
graylog-server 2.0.1 according to 
http://docs.graylog.org/en/2.0/pages/configuring_webif.html I can get it to 
login and see messages, but some pages are blank or wont load. In web 
browser debug mode I can see 

It seems that graylog api needs authentication which its not getting from 
when graylog itself calls it?

My browser seems to be getting some replies when hitting 
http://graylog-web-url/system/inputs , but it shows my 2 inputs as 0 
RUNNING and the output it gets from the ajax requests looks odd to me. Only 
response for /system/inputstates is (json)
{"ac7773b1-403d-4d3d-acc7-98a779140854":null}

My uris are configured as follows:

rest_listen_uri = http://localhost:12900/
web_listen_uri = http://127.0.0.1:9000/
web_endpoint_uri = http://127.0.0.1:9000/

My apache virtualhost is as follows:

<VirtualHost *:80>
 ServerName my_servername

 ErrorLog logs/graylog_error_log
 CustomLog logs/graylog_access_log combined

 Timeout 180

<Location />
 RequestHeader set X-Graylog-Server-URL "http://my_servername/api";
 ProxyPass        http://localhost:9000/
 ProxyPassReverse http://localhost:9000/
 Order deny,allow
 Deny from all
 Allow from ip-addresses localhost
 Allow from servername
</Location>

<Location /api/>
 ProxyPass        http://localhost:12900/
 ProxyPassReverse http://localhost:12900/
 Order deny,allow
 Deny from all
 Allow from ip-addresses localhost
 Allow from servername
</Location>

</VirtualHost>


Im not even sure how this would work in a multi graylog node configuration, 
rest_transport_uri is localhost... which noone outside local apache can 
reach.

Some help please!

Brgds.
Martin

-- 
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/700b719b-583b-4565-b347-c68585f31479%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to