https://opensourceforu.com/2015/10/remote-logging-using-rsyslog-and-mysql/
https://habr.com/post/321262/