From: Aurelien DARRAGON Date: Tue, 6 Feb 2024 10:23:33 +0000 (+0100) Subject: DOC: config: add more custom log format table alternatives X-Git-Tag: v3.0-dev3~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c8e42b7c19da5ffe6db3192c58507e4597fd2137;p=thirdparty%2Fhaproxy.git DOC: config: add more custom log format table alternatives Show existing sample fetch alternatives for some log formats: %Ts => %[accept_date] %H => %[hostname] %HM => %[method] %bc => %[be_conn] %f => %[fe_name] %fc => %[fe_conn] %s => %[srv_name] --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 98fd1922b0..40b0c58f9d 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -25297,6 +25297,7 @@ Please refer to the table below for currently defined variables : | | | %[accept_date,ltime("%d/%b/%Y:%H:%M:%S %z")] | date | +---+------+------------------------------------------------------+---------+ | | %Ts | Accept date as a UNIX timestamp | numeric | + | | | %[accept_date] | | +---+------+------------------------------------------------------+---------+ | | %t | Accept date local (with millisecond resolution) | | | | | %[accept_date(ms),ms_ltime("%d/%b/%Y:%H:%M:%S.%3N")] | date | @@ -25358,8 +25359,10 @@ Please refer to the table below for currently defined variables : | H | %CS | captured_response_cookie | string | +---+------+------------------------------------------------------+---------+ | | %H | hostname | string | + | | | %[hostname] | | +---+------+------------------------------------------------------+---------+ | H | %HM | HTTP method (ex: POST) | string | + | | | %[method] +---+------+------------------------------------------------------+---------+ | H | %HP | HTTP request URI without query string | string | +---+------+------------------------------------------------------+---------+ @@ -25388,6 +25391,7 @@ Please refer to the table below for currently defined variables : | | | %[be_name] | string | +---+------+------------------------------------------------------+---------+ | | %bc | beconn (backend concurrent connections) | numeric | + | | | %[be_conn] | | +---+------+------------------------------------------------------+---------+ | | %bi | backend_source_ip (connecting address) | | | | | %[bc_src] | IP | @@ -25404,8 +25408,10 @@ Please refer to the table below for currently defined variables : | | | %[src_port] | numeric | +---+------+------------------------------------------------------+---------+ | | %f | frontend_name | string | + | | | %[fe_name] | | +---+------+------------------------------------------------------+---------+ | | %fc | feconn (frontend concurrent connections) | numeric | + | | | %[fe_conn] | | +---+------+------------------------------------------------------+---------+ | | %fi | frontend_ip (accepting address) | | | | | %[dst] | IP | @@ -25439,6 +25445,7 @@ Please refer to the table below for currently defined variables : | | | %[txn.id32] | | +---+------+------------------------------------------------------+---------+ | | %s | server_name | string | + | | | %[srv_name] | | +---+------+------------------------------------------------------+---------+ | | %sc | srv_conn (server concurrent connections) | numeric | +---+------+------------------------------------------------------+---------+