On Friday, June 10, 2016 at 10:33:30 AM UTC+1, Joshua Humpich wrote: > Can you also show me the stuff from your server.conf from the graylog > server? > I mean the lines your using for web and rest. (listen_uri, transport_uri > etc.) >
Today I tried to do the same thing on another Graylog server and it didn't work. I had to change something to get it working. On the System/Collectors page click Manage configurations. Under Filter Configurations you should see something like this: Configuration Tags server_url: http://10.22.1.68:12900 tls_skip_verify: false node_id: dev1 collector_id: file:/etc/graylog/collector-sidecar/collector-id tags: - web log_path: /var/log/graylog/collector-sidecar update_interval: 10 backends: - name: nxlog enabled: true binary_path: /usr/bin/nxlog configuration_path: /etc/graylog/collector-sidecar/generated/nxlog.conf Then in server.conf rest_listen_uri = http://0.0.0.0:12900/ rest_transport_uri = http://10.22.1.68:12900/ web_listen_uri = http://127.0.0.1:9000/ And then configure Nginx virtualhost file like this: server { listen 443 ssl spdy; server_name graylog2.zone-lan1.aws; access_log /var/log/nginx/graylog-access.log; error_log /var/log/nginx/graylog-error.log info; ssl_certificate /etc/ssl/localcerts/mycert.pem; ssl_certificate_key /etc/ssl/localcerts/mykey.key; location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-Graylog-Server-URL https://graylog2.zone-lan1.aws/api; proxy_pass http://127.0.0.1:9000; } location /api/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_pass http://10.22.1.68:12900/; } } -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/1430fed5-8c59-4fdb-ab51-008db965ea3e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
