Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I got a number of nginx + php-fpm application servers running under LB. I would like to centralize the logs into external mysql database.

I was wondering if there is a way of achieving this ?

I know there is a HttpDrizzleModule which should help.

I maybe some of you have done this already and could share experience ?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Yes, you can easily achieve that using syslog-ng. You can start looking at this link :

http://chaos.untouchable.net/index.php/HOWTO_setup_syslog-ng_to_log_to_mysql

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.