Bonjour à tous,
Je suis intéressé pour exploiter les logs d' un de mes haproxy vers logs-data-platform d' ovh mais je ne suis sur de comprendre comment ça marche.
La doc ci dessous, fait semble t il référence à 2 méthode .
https://docs.ovh.com/gb/en/mobile-hosting/logs-data-platform/haproxy/#haproxy-log-format-configuration
Je test actuellement la méthode rsyslog -> logstash , mais j' arrive pas à extraire les champs correctement. Pourtant voici le format de log que j' ai appliqué à haproxy.
log-format client_ip:%ci\ accept_date:%t\ frontend_name:%ft\ backend_name:%b\ server_name:%s\ time_request_int:%Tq\ time_queue_int:%Tw\ time_backend_connect_int:%Tc\ time_backend_response_int:%Tr\ time_duration_int:%Tt\ http_status_code_int:%ST\ bytes_read_int:%B\ captured_request_cookie:%CC\ captured_response_cookie:%CS\ termination_state:%tsc\ actconn_int:%ac\ feconn_int:%fc\ beconn_int:%bc\ srvconn_int:%sc\ retries_int:%rc\ srv_queue_int:%sq\ backend_queue_int:%bq\ captured_request_headers:%hr\ captured_response_headers:%hs\ http_request:%r
Logs-data-platform - haproxy
Related questions
- Ssh_init: Host does not exist
25322
13.11.2017 01:40
- Code d’erreur : DLG_FLAGS_SEC_CERT_CN_INVALID ?
24386
14.08.2018 09:32
- LetsEncrypt et erreur DNS A / AAAA
23098
16.04.2019 15:34
- SSL Cloudflare chez OVH
21849
28.04.2017 09:51
- Err_too_many_redirects
21328
12.11.2017 15:36
- Impossible d'activer le certificat SSL pour HTTPS
21001
07.01.2021 02:44
- Certificat Let's encrypt
20931
21.08.2017 17:44
- Net::err_cert_common_name_invalid
20096
29.05.2017 08:20
- Trop de redirections suite au HTTPS
19975
14.12.2016 14:30
- Prise en charge du protocole MQTT
18507
06.04.2017 13:57