On Thursday, September 24, 2015 at 6:20:44 PM UTC+2, Florent B wrote: > > Hi, > > On 09/24/2015 06:09 PM, Миша Северный wrote: > > My simple question. > > What i must tell in apache conf file, for it begin send logs to Graylog > via syslog? > > CustomLog [email protected]:port <javascript:> common > > Like this? > > I know that is possible, send log to syslog directly from apache, but i > dont know how. Anyone can help me? > > Here is how we do on Debian Wheezy (Apache 2.2) : > > ErrorLog "||/usr/bin/logger -t apache -i -p local6.error" > CustomLog "||/usr/bin/logger -t apache -i -p local5.notice" vhost_combined > > Then rsyslog config : > > local6.error @@10.111.XX.XXX:1515 > local5.notice @@10.111.XX.XXX:1516 > > (we have different inputs in Graylog to setup extractors) >
I must have rsyslog? Not syslog? What the difference between? R -- mean remote? Therefore syslog cant send on remote host logs? -- 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/ae05d503-d9f5-4d86-b077-69892853a390%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
