Okay thx I will give that a try ;-)
Hope this works this time 

Regards,
Josh

Am Freitag, 10. Juni 2016 12:57:40 UTC+2 schrieb Marko Lerota:
>
> Sorry something posted this before I have finished
> Under Filter Configurations you should see something
> like this:
>
> Configuration                     Tags
> web-servers                         web
>
> Then in collector_sidecar.yml you have that config
>
> On Friday, June 10, 2016 at 11:54:28 AM UTC+1, Marko Lerota wrote:
>>
>> 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/90cdbfdb-ccbe-42a4-97c3-c863285e6e56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to