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]
This commit is contained in:
Aurelien DARRAGON 2024-02-06 11:23:33 +01:00
parent ad8625cb64
commit c8e42b7c19

View File

@ -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 | | | | %[accept_date,ltime("%d/%b/%Y:%H:%M:%S %z")] | date |
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+
| | %Ts | Accept date as a UNIX timestamp | numeric | | | %Ts | Accept date as a UNIX timestamp | numeric |
| | | %[accept_date] | |
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+
| | %t | Accept date local (with millisecond resolution) | | | | %t | Accept date local (with millisecond resolution) | |
| | | %[accept_date(ms),ms_ltime("%d/%b/%Y:%H:%M:%S.%3N")] | date | | | | %[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 | %CS | captured_response_cookie | string |
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+
| | %H | hostname | string | | | %H | hostname | string |
| | | %[hostname] | |
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+
| H | %HM | HTTP method (ex: POST) | string | | H | %HM | HTTP method (ex: POST) | string |
| | | %[method]
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+
| H | %HP | HTTP request URI without query string | string | | 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 | | | | %[be_name] | string |
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+
| | %bc | beconn (backend concurrent connections) | numeric | | | %bc | beconn (backend concurrent connections) | numeric |
| | | %[be_conn] | |
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+
| | %bi | backend_source_ip (connecting address) | | | | %bi | backend_source_ip (connecting address) | |
| | | %[bc_src] | IP | | | | %[bc_src] | IP |
@ -25404,8 +25408,10 @@ Please refer to the table below for currently defined variables :
| | | %[src_port] | numeric | | | | %[src_port] | numeric |
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+
| | %f | frontend_name | string | | | %f | frontend_name | string |
| | | %[fe_name] | |
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+
| | %fc | feconn (frontend concurrent connections) | numeric | | | %fc | feconn (frontend concurrent connections) | numeric |
| | | %[fe_conn] | |
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+
| | %fi | frontend_ip (accepting address) | | | | %fi | frontend_ip (accepting address) | |
| | | %[dst] | IP | | | | %[dst] | IP |
@ -25439,6 +25445,7 @@ Please refer to the table below for currently defined variables :
| | | %[txn.id32] | | | | | %[txn.id32] | |
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+
| | %s | server_name | string | | | %s | server_name | string |
| | | %[srv_name] | |
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+
| | %sc | srv_conn (server concurrent connections) | numeric | | | %sc | srv_conn (server concurrent connections) | numeric |
+---+------+------------------------------------------------------+---------+ +---+------+------------------------------------------------------+---------+