Re: [graylog2] varnish and varnishncsa UDP log pipe

2015-07-19 Thread Ariel Kogan
Thanks a lot for this Martin. I wasn't lucky with netcat using TCP but the Go Builder has proved very useful so far. On Monday, July 13, 2015 at 11:25:57 AM UTC+3, Martin Schütte wrote: > > Am 12.07.15 um 16:44 schrieb Ariel Kogan: > > I'm also trying to connect Varnish to Graylog. Is there a

Re: [graylog2] varnish and varnishncsa UDP log pipe

2015-07-13 Thread Martin Schütte
Am 12.07.15 um 16:44 schrieb Ariel Kogan: I'm also trying to connect Varnish to Graylog. Is there a chance you could share how you managed to do it? I've tried Razvan approach of formatting as GELF and sending it through netcat but I don't know why the process terminates when the first requests t

Re: [graylog2] varnish and varnishncsa UDP log pipe

2015-07-13 Thread Ariel Kogan
Hi guys, I'm also trying to connect Varnish to Graylog. Is there a chance you could share how you managed to do it? I've tried Razvan approach of formatting as GELF and sending it through netcat but I don't know why the process terminates when the first requests to Varnish comes in. What I'm ru

Re: [graylog2] varnish and varnishncsa UDP log pipe

2014-12-09 Thread 'Razvan Grigore' via graylog2
On Tuesday, December 9, 2014 11:05:44 AM UTC+1, Razvan Grigore wrote: > and if you restart the daemon, it parses again all entries in the log file > and sends them once again to graylog. > Ah, scratch that, the daemon had no write rights to save the state file, it works great now, but he shoul

Re: [graylog2] varnish and varnishncsa UDP log pipe

2014-12-09 Thread 'Razvan Grigore' via graylog2
Hey Martian, I think I solved the problem, it was the 'output_batch_size = 25' so the output buffer was always full and writing to disk, and he never managed to write all logs into elasticsearch. I also raised the 'net.core.rmem_max' limit because in debian is 200k by default (thanks Arie) I t

Re: [graylog2] varnish and varnishncsa UDP log pipe

2014-12-05 Thread Martin Schütte
On 04.12.2014 00:23, 'Razvan Grigore' via graylog2 wrote: > My idea was to pipe the logs via simple UDP from varnishncsa (log daemon) > instead of storing them in a file and have rsyslog parse them and send the to > graylog - avoid unnecessary IO. Hello Razvan, don't know about the UDP problems (m

[graylog2] varnish and varnishncsa UDP log pipe

2014-12-04 Thread 'Razvan Grigore' via graylog2
Hello and thank you for this great piece of software! I joined one of the author's live presentations in Hamburg, and since then I am using graylog2 as logging solution for the company I work for. Most of the basic stuff works great, it's just the varnish logging I can't seem to make it work. I