Apache2 logs send to elasticsearch and kibana with syslog-ng
Apache2 logs send to elasticsearch and kibana with syslog-ng Прости меня Игорь!!!)). !!!!Читаем статью с первоначальной настройкой системы сборы логов здесь.!!!! Это дополнение. 1. Config server with apache2 and syslog-ng log forwarder Tune log format in apache2.conf nano /etc/apache2/apache2.conf LogFormat ‘”%t”|”%a”|”%A”|”%V”|”%U”|”%m”|”%s”|”%{User-agent}i”|”%{Referer}i”|”%q”|”%B”|”%D”|”%I”|”%O”‘ full_format CustomLog /var/log/apache2/access_full.log full_format ErrorLogFormat ‘”%t”|”[C:%{c}L]”|”%l %7F: %E: “|”%A”|”%M% ,\”|”%{Referer}i”‘ ErrorLog ${APACHE_LOG_DIR}/error.log And restart […]
Читать дальше… from Apache2 logs send to elasticsearch and kibana with syslog-ng