Hi,

Apache httpd supports sending error logs into the local syslog (see 
https://httpd.apache.org/docs/2.4/mod/core.html#errorlog) but not the 
access logs (
https://httpd.apache.org/docs/2.4/mod/mod_log_config.html#customlog). As 
for now, you'll need to read the access logs with a log shipper like the 
Graylog Collector, nxlog, or Logstash, and send it to your Graylog server.

Alternatively use pipes like Florent described to send the access logs to 
the local syslog and ship it to your Graylog server from there.


I must have rsyslog? Not syslog? What the difference between? R -- mean 
> remote? Therefore syslog cant send on remote host logs? 


rsyslog is simply a different implementation of a syslog daemon, like the 
original BSD syslog or syslog-ng. All of those support sending logs to a 
remote host.


Cheers,
Jochen

On Thursday, 24 September 2015 18:09:02 UTC+2, Миша Северный wrote:
>
> My simple question. 
>
> What i must tell in apache conf file, for it begin send logs to Graylog 
> via syslog?
>
> CustomLog syslog:@ip.graylog.com:port common
>
> Like this?
>
> I know that is possible, send log to syslog directly from apache, but i 
> dont know how. Anyone can help me?
>

-- 
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/af62c24e-8608-44af-8990-16977e97d906%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to