mmisura
(Marcello )
November 13, 2024, 10:33am
1
I noticed that graylog needs to contact external services in order to access Illuminate content packs.
My server, by security policy, cannot surf directly on internet. It must use an http proxy in order to reach internet.
Where can I configure the http proxy? Is it possible?
I’m working on Graylog 6.0.8 Enterprise in a Linux environment.
Alex2
November 13, 2024, 5:43pm
2
You can configure a proxy at the JVM level. That would probably work.
Various types of proxies are supported and the docs describe relevant property settings – here’s Java 18: Java Networking
You can add property settings to graylog’s JVM various ways. I believe the standard approach (yum distros) is to put them in /etc/sysconfig/graylog-server
myaspm
(Mustafa)
November 23, 2024, 1:58pm
3
Hi, did you solve this problem?
mmisura
(Marcello )
November 26, 2024, 11:51am
4
Yes,
I edited this configuration this file:
/etc/graylog/server/server.conf
http_proxy_uri = http://proxy.example.com:3128
http_non_proxy_hosts = 10.0.*,*.example.com
Another working solution, suggested in previous post, JAVA OPTION in this file:
/etc/default/graylog-server
GRAYLOG_SERVER_JAVA_OPTS="$GRAYLOG_SERVER_JAVA_OPTS -Dhttp.proxyHost=proxy.example.com -Dhttp.proxyPort=3128 "
Alex2
December 2, 2024, 2:31pm
6
Thanks for following up. I never noticed the setting in the graylog config file. That is a simpler solution than the JVM setting I suggested.