- Enter to MySQL/MariaDB server command-line tool (change root with your username and password):
mysql -u root -proot
- Set the general log file path:
SET GLOBAL general_log_file='/var/log/mysql/mycustom.log';
// For all the confusing Prometheus configuration and | |
// regular expressions, | |
// explained in examples. | |
// Remember, there are default values for each item if it's missing. | |
// regex is (.*), | |
// replacement is $1, | |
// separator is ; | |
// ,and action is replace |
https://sys-adm.in/security/850-ossec-otpravka-uvedomlenij-v-telegram.html
/var/ossec/etc/ossec.conf
<ossec_config>
I hereby claim:
To claim this, I am signing this object: