Skip to content
Extraits de code Groupes Projets
Valider 6eb1e461 rédigé par Michael Sofaer and Raphael Sofaer's avatar Michael Sofaer and Raphael Sofaer
Parcourir les fichiers

nginx logs for splunk

parent 4f67b728
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -14,9 +14,8 @@ http { ...@@ -14,9 +14,8 @@ http {
include mime.types; include mime.types;
default_type application/octet-stream; default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] ' log_format splunky '$msec code=$status url=$uri bytes=$body_bytes_sent ms=$request_time';
'"$request" $status $body_bytes_sent "$http_referer" ' access_log /usr/local/nginx/logs/access.log splunky;
'"$http_user_agent" "$http_x_forwarded_for"';
sendfile on; sendfile on;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter