Answer the question
In order to leave comments, you need to log in
How to conveniently manage logging?
The programs I need (nginx, php-fpm, php-cli, redis, mariadb, ...) on the production server create a bunch of logs in /var/log. Plus the web application logs themselves.
How are they usually used?
1. Simply log in to the server as problems arise, open the corresponding log file and not worry.
2. Or are there any convenient tools that collect information from the logs I need in a beautiful format, and I watch them from a remote computer from some client application.
3. Or is it possible to somehow redirect them to redis? How then to set the correct path like access_log=????.
Of course, everything is possible in syslog, but something, it seems to me, is not done this way. In general, how to make Beautiful? :)
Answer the question
In order to leave comments, you need to log in
Here you can try to configure yourself: How to install and configure Elasticsearch, Logstash...
If you insert in preg_replace to delete something like this https://www.regex101.com/r/jFfVQq/1 (left the .zip extension)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question