<https://lh3.googleusercontent.com/-rip3jZqv54E/VTD03XCQCtI/AAAAAAAAAA0/Gyirv-Gap70/s1600/nginx.bmp>
<https://lh3.googleusercontent.com/-0UlcBoj1-ZU/VTD0eP0fZuI/AAAAAAAAAAs/5xgeSra9Vxw/s1600/streams.bmp> <https://lh3.googleusercontent.com/-CBOo-ULXZWU/VTD0I9RbSZI/AAAAAAAAAAk/hEDS7BwvvFI/s1600/content%2Bpacks.bmp> I have config the content packs, but it still didn't work. I run the graylog in docker, and nginx outside, when I run the following command, I get this result user1@IX-0225:~$ svlogd -tt /var/log/graylog/nginx The program 'svlogd' is currently not installed. You can install it by typing: sudo apt-get install runit user1@IX-0225:~$ ll /opt/graylog/embedded/sbin/nginx ls: cannot access /opt/graylog/embedded/sbin/nginx: No such file or directory On Friday, April 17, 2015 at 5:01:34 PM UTC+8, Marius Sturm wrote: > > When you access the web interface through port 9000 nginx is not used. The > request is handled directly by the java application. > With the installed content pack you can setup an external nginx > installation, e.g. another container with nginx running and send the logs > to your Graylog container. The contentpack is only a canned configuration > for Graylog to easily setup Inputs, Stream and Dashboards. Nginx still > needs to be configured to send logs to the right place. > > On 16 April 2015 at 17:08, Yang Peter <[email protected] <javascript:>> > wrote: > >> >> I have install graylog2 docker successfully, >> and I can access the web interface http://localhost:9000/ >> >> docker run -t -p 9000:9000 -p 12201:12201 -p 12301:12301 -p 12302:12302 >> graylog2/allinone >> >> >> for nginx: >> >> I followed this guide, >> https://www.graylog.org/resource/content-pack/547b5021e4b0a06d87eea01e/ >> >> log_format graylog2_format '$remote_addr - $remote_user [$time_local] " >> $request" $status $body_bytes_sent "$http_referer" "$http_user_agent" " >> $http_x_forwarded_for" <msec=$msec|connection=$connection >> |connection_requests=$connection_requests|millis=$request_time>'; # >> replace the hostnames with the IP or hostname of your Graylog2 server >> access_log syslog:server=localhost:12301 graylog2_format; error_log >> syslog:server=localhost:12302; >> >> >> But I still not get any message from web interface, >> how to check this problem? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "graylog2" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Developer > > Tel.: +49 (0)40 609 452 077 > Fax.: +49 (0)40 609 452 078 > > TORCH GmbH - A Graylog Company > Steckelhörn 11 > 20457 Hamburg > Germany > > https://www.graylog.com <https://www.torch.sh/> > > Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175 > Geschäftsführer: Lennart Koopmann (CEO) > -- You received this message because you are subscribed to the Google Groups "graylog2" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
