Sommaire
Il est possible via l'option webui__log_users__enabled d'activer des logs d'authentification supplémentaire dans un fichier spécifique. Cette option est configurable dans le fichier de configuration du module WebUI.
Par défaut, les logs seront écrits dans le fichier /var/log/shinken/webui/log_users.log. Cet emplacement peut être modifié via l'option webui__log_users__file_path.
Pour plus d'information sur les options webui__log_users__enabled et webui__log_users__file_path, référez-vous à la page Module WebUI
Log Externe d'Authentification
Authentification Réussi
Si webui__log_users__add_user_name est activé:
[ YYYY-MM-DD HH:MM:SS ] [ READ ] [ LOGIN ] [ RESULT:200 ] [ TIME: 1ms ] [ USER:<user_uuid> / <user_name> ] [ CALL_BY:<IP> ] [ AUTHENTICATED:OK ] [ BY:UI Visualization ] [ AUTHENTICATED BY THE MODULE:<module_name> ]
Sinon:
[ YYYY-MM-DD HH:MM:SS ] [ READ ] [ LOGIN ] [ RESULT:200 ] [ TIME: 1ms ] [ USER:<user_uuid> ] [ CALL_BY:<IP> ] [ AUTHENTICATED:OK ] [ BY:UI Visualization ] [ AUTHENTICATED BY THE MODULE:<module_name> ]
Authentification Échoué
Si webui__log_users__add_user_name est activé:
[ YYYY-MM-DD HH:MM:SS ] [ READ ] [ LOGIN ] [ RESULT:401 ] [ TIME: 4ms ] [ USER:<user_uuid> / <user_name> ] [ CALL_BY:<IP> ] [ AUTHENTICATED:FAILED ] [ BY:UI Visualization ]
Sinon:
[ YYYY-MM-DD HH:MM:SS ] [ READ ] [ LOGIN ] [ RESULT:401 ] [ TIME: 4ms ] [ USER:<user_uuid> ] [ CALL_BY:<IP> ] [ AUTHENTICATED:FAILED ] [ BY:UI Visualization ]
Déconnexion
Si webui__log_users__add_user_name est activé:
[ YYYY-MM-DD HH:MM:SS ] [ READ ] [ LOGOUT ] [ RESULT:200 ] [ TIME: 0ms ] [ USER:<user_uuid> / <user_name> ] [ CALL_BY:<IP> ] [ BY:UI Visualization ]
Sinon:
[ YYYY-MM-DD HH:MM:SS ] [ READ ] [ LOGOUT ] [ RESULT:200 ] [ TIME: 0ms ] [ USER:<user_uuid> ] [ CALL_BY:<IP> ] [ BY:UI Visualization ]