mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
DOC: config: stick-table converters support implicit <table> argument
As with stick-table sample fetches, the <table> argument is not strictly needed and defaults to the current proxy's stick-table when not provided Let's update the doc and prototype to reflect the current behavior.
This commit is contained in:
parent
dfdee47a8e
commit
0d318b4383
@ -20095,7 +20095,7 @@ host_only string string
|
|||||||
htonl integer integer
|
htonl integer integer
|
||||||
http_date([offset[,unit]]) integer string
|
http_date([offset[,unit]]) integer string
|
||||||
iif(true,false) boolean string
|
iif(true,false) boolean string
|
||||||
in_table(table) string boolean
|
in_table([table]) string boolean
|
||||||
ipmask(mask4[,mask6]) address address
|
ipmask(mask4[,mask6]) address address
|
||||||
json([input-code]) string string
|
json([input-code]) string string
|
||||||
json_query(json_path[,output_type]) string _outtype_
|
json_query(json_path[,output_type]) string _outtype_
|
||||||
@ -20142,37 +20142,37 @@ sha2([bits]) binary binary
|
|||||||
srv_queue string integer
|
srv_queue string integer
|
||||||
strcmp(var) string boolean
|
strcmp(var) string boolean
|
||||||
sub(value) integer integer
|
sub(value) integer integer
|
||||||
table_bytes_in_rate(table) string integer
|
table_bytes_in_rate([table]) string integer
|
||||||
table_bytes_out_rate(table) string integer
|
table_bytes_out_rate([table]) string integer
|
||||||
table_conn_cnt(table) string integer
|
table_conn_cnt([table]) string integer
|
||||||
-- keyword -------------------------------------+- input type + output type -
|
-- keyword -------------------------------------+- input type + output type -
|
||||||
table_conn_cur(table) string integer
|
table_conn_cur([table]) string integer
|
||||||
table_conn_rate(table) string integer
|
table_conn_rate([table]) string integer
|
||||||
table_expire(table[,default_value]) string integer
|
table_expire([table[,default_value]]) string integer
|
||||||
table_glitch_cnt(table) string integer
|
table_glitch_cnt([table]) string integer
|
||||||
table_glitch_rate(table) string integer
|
table_glitch_rate([table]) string integer
|
||||||
table_gpc(idx,table) string integer
|
table_gpc(idx[,table]) string integer
|
||||||
table_gpc0(table) string integer
|
table_gpc0([table]) string integer
|
||||||
table_gpc0_rate(table) string integer
|
table_gpc0_rate([table]) string integer
|
||||||
table_gpc1(table) string integer
|
table_gpc1([table]) string integer
|
||||||
table_gpc1_rate(table) string integer
|
table_gpc1_rate([table]) string integer
|
||||||
table_gpc_rate(idx,table) string integer
|
table_gpc_rate(idx[,table]) string integer
|
||||||
table_gpt(idx,table) string integer
|
table_gpt(idx[,table]) string integer
|
||||||
table_gpt0(table) string integer
|
table_gpt0([table]) string integer
|
||||||
table_http_err_cnt(table) string integer
|
table_http_err_cnt([table]) string integer
|
||||||
table_http_err_rate(table) string integer
|
table_http_err_rate([table]) string integer
|
||||||
table_http_fail_cnt(table) string integer
|
table_http_fail_cnt([table]) string integer
|
||||||
table_http_fail_rate(table) string integer
|
table_http_fail_rate([table]) string integer
|
||||||
table_http_req_cnt(table) string integer
|
table_http_req_cnt([table]) string integer
|
||||||
table_http_req_rate(table) string integer
|
table_http_req_rate([table]) string integer
|
||||||
table_idle(table[,default_value]) string integer
|
table_idle([table[,default_value]]) string integer
|
||||||
table_kbytes_in(table) string integer
|
table_kbytes_in([table]) string integer
|
||||||
-- keyword -------------------------------------+- input type + output type -
|
-- keyword -------------------------------------+- input type + output type -
|
||||||
table_kbytes_out(table) string integer
|
table_kbytes_out([table]) string integer
|
||||||
table_server_id(table) string integer
|
table_server_id([table]) string integer
|
||||||
table_sess_cnt(table) string integer
|
table_sess_cnt([table]) string integer
|
||||||
table_sess_rate(table) string integer
|
table_sess_rate([table]) string integer
|
||||||
table_trackers(table) string integer
|
table_trackers([table]) string integer
|
||||||
ub64dec string string
|
ub64dec string string
|
||||||
ub64enc string string
|
ub64enc string string
|
||||||
ungrpc(field_number[,field_type]) binary binary / int
|
ungrpc(field_number[,field_type]) binary binary / int
|
||||||
@ -20594,12 +20594,13 @@ iif(<true>,<false>)
|
|||||||
Example:
|
Example:
|
||||||
http-request set-header x-forwarded-proto %[ssl_fc,iif(https,http)]
|
http-request set-header x-forwarded-proto %[ssl_fc,iif(https,http)]
|
||||||
|
|
||||||
in_table(<table>)
|
in_table([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, a boolean false
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise a boolean true is returned. This can be used to verify
|
is not found in the table, a boolean false is returned. Otherwise a boolean
|
||||||
the presence of a certain key in a table tracking some elements (e.g. whether
|
true is returned. This can be used to verify the presence of a certain key in
|
||||||
or not a source IP address or an Authorization header was already seen).
|
a table tracking some elements (e.g. whether or not a source IP address or an
|
||||||
|
Authorization header was already seen).
|
||||||
|
|
||||||
ipmask(<mask4>[,<mask6>])
|
ipmask(<mask4>[,<mask6>])
|
||||||
Apply a mask to an IP address, and use the result for lookups and storage.
|
Apply a mask to an IP address, and use the result for lookups and storage.
|
||||||
@ -21367,249 +21368,263 @@ sub(<value>)
|
|||||||
a constant, simply perform a "neg,add(value)". <value> can be a numeric value
|
a constant, simply perform a "neg,add(value)". <value> can be a numeric value
|
||||||
or a variable name. See section 2.8 about variables for details.
|
or a variable name. See section 2.8 about variables for details.
|
||||||
|
|
||||||
table_bytes_in_rate(<table>)
|
table_bytes_in_rate([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the average client-to-server
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
bytes rate associated with the input sample in the designated table, measured
|
converter returns the average client-to-server bytes rate associated with the
|
||||||
in amount of bytes over the period configured in the table. See also the
|
input sample in the designated table, measured in amount of bytes over the
|
||||||
sc_bytes_in_rate sample fetch keyword.
|
period configured in the table. See also the sc_bytes_in_rate sample fetch
|
||||||
|
keyword.
|
||||||
|
|
||||||
|
|
||||||
table_bytes_out_rate(<table>)
|
table_bytes_out_rate([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the average server-to-client
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
bytes rate associated with the input sample in the designated table, measured
|
converter returns the average server-to-client bytes rate associated with the
|
||||||
in amount of bytes over the period configured in the table. See also the
|
input sample in the designated table, measured in amount of bytes over the
|
||||||
sc_bytes_out_rate sample fetch keyword.
|
period configured in the table. See also the sc_bytes_out_rate sample fetch
|
||||||
|
keyword.
|
||||||
|
|
||||||
table_conn_cnt(<table>)
|
table_conn_cnt([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the cumulative number of incoming
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
connections associated with the input sample in the designated table. See
|
converter returns the cumulative number of incoming connections associated
|
||||||
also the sc_conn_cnt sample fetch keyword.
|
with the input sample in the designated table. See also the sc_conn_cnt sample
|
||||||
|
fetch keyword.
|
||||||
|
|
||||||
table_conn_cur(<table>)
|
table_conn_cur([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the current amount of concurrent
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
tracked connections associated with the input sample in the designated table.
|
converter returns the current amount of concurrent tracked connections
|
||||||
See also the sc_conn_cur sample fetch keyword.
|
associated with the input sample in the designated table. See also the
|
||||||
|
sc_conn_cur sample fetch keyword.
|
||||||
|
|
||||||
table_conn_rate(<table>)
|
table_conn_rate([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the average incoming connection
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
rate associated with the input sample in the designated table. See also the
|
converter returns the average incoming connection rate associated with the
|
||||||
sc_conn_rate sample fetch keyword.
|
input sample in the designated table. See also the sc_conn_rate sample fetch
|
||||||
|
keyword.
|
||||||
|
|
||||||
table_expire(<table>[,<default_value>])
|
table_expire([<table>[,<default_value>]])
|
||||||
Uses the input sample to perform a look up in the specified table. If the key
|
Uses the input sample to perform a look up in in the current proxy's
|
||||||
is not found in the table, the converter fails except if <default_value> is
|
stick-table or in the designated stick-table. If the key is not found in the
|
||||||
set: this makes the converter succeed and return <default_value>. If the key
|
table, the converter fails except if <default_value> is set: this makes the
|
||||||
is found the converter returns the key expiration delay associated with the
|
converter succeed and return <default_value>. If the key is found the
|
||||||
input sample in the designated table.
|
converter returns the key expiration delay associated with the input sample
|
||||||
See also the table_idle sample fetch keyword.
|
in the designated table. See also the table_idle sample fetch keyword.
|
||||||
|
|
||||||
table_glitch_cnt(<table>)
|
table_glitch_cnt([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the cumulative number of front
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
connection glitches associated with the input sample in the designated table.
|
converter returns the cumulative number of front connection glitches
|
||||||
See also the sc_glitch_cnt sample fetch keyword and fc_glitches for the value
|
associated with the input sample in the designated table. See also the
|
||||||
measured on the current front connection.
|
sc_glitch_cnt sample fetch keyword and fc_glitches for the value measured on
|
||||||
|
the current front connection.
|
||||||
|
|
||||||
table_glitch_rate(<table>)
|
table_glitch_rate([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the average front connection
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
glitch rate associated with the input sample in the designated table. See
|
converter returns the average front connection glitch rate associated with
|
||||||
also the sc_glitch_rate sample fetch keyword.
|
the input sample in the designated table. See also the sc_glitch_rate sample
|
||||||
|
fetch keyword.
|
||||||
|
|
||||||
table_gpc(<idx>,<table>)
|
table_gpc(<idx>[,<table>])
|
||||||
Uses the string representation of the input sample to perform a lookup in
|
Uses the string representation of the input sample to perform a lookup in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the current value of the
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
General Purpose Counter at the index <idx> of the array associated
|
converter returns the current value of the General Purpose Counter at the
|
||||||
to the input sample in the designated <table>. <idx> is an integer
|
index <idx> of the array associated to the input sample in the designated
|
||||||
between 0 and 99.
|
<table>. <idx> is an integer between 0 and 99.
|
||||||
If there is no GPC stored at this index, it also returns the boolean value 0.
|
If there is no GPC stored at this index, it also returns the boolean value 0.
|
||||||
This applies only to the 'gpc' array data_type (and not to the legacy
|
This applies only to the 'gpc' array data_type (and not to the legacy
|
||||||
'gpc0' nor 'gpc1' data_types).
|
'gpc0' nor 'gpc1' data_types).
|
||||||
See also the sc_get_gpc sample fetch keyword.
|
See also the sc_get_gpc sample fetch keyword.
|
||||||
|
|
||||||
table_gpc0(<table>)
|
table_gpc0([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the current value of the first
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
general purpose counter associated with the input sample in the designated
|
converter returns the current value of the first general purpose counter
|
||||||
table. See also the sc_get_gpc0 sample fetch keyword.
|
associated with the input sample in the designated table. See also the
|
||||||
|
sc_get_gpc0 sample fetch keyword.
|
||||||
|
|
||||||
table_gpc0_rate(<table>)
|
table_gpc0_rate([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the frequency which the gpc0
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
counter was incremented over the configured period in the table, associated
|
converter returns the frequency which the gpc0 counter was incremented over
|
||||||
with the input sample in the designated table. See also the sc_get_gpc0_rate
|
the configured period in the table, associated with the input sample in the
|
||||||
sample fetch keyword.
|
designated table. See also the sc_get_gpc0_rate sample fetch keyword.
|
||||||
|
|
||||||
table_gpc1(<table>)
|
table_gpc1([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the current value of the second
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
general purpose counter associated with the input sample in the designated
|
converter returns the current value of the second general purpose counter
|
||||||
table. See also the sc_get_gpc1 sample fetch keyword.
|
associated with the input sample in the designated table. See also the
|
||||||
|
sc_get_gpc1 sample fetch keyword.
|
||||||
|
|
||||||
table_gpc1_rate(<table>)
|
table_gpc1_rate([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the frequency which the gpc1
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
counter was incremented over the configured period in the table, associated
|
converter returns the frequency which the gpc1 counter was incremented over
|
||||||
with the input sample in the designated table. See also the sc_get_gpc1_rate
|
the configured period in the table, associated with the input sample in the
|
||||||
sample fetch keyword.
|
designated table. See also the sc_get_gpc1_rate sample fetch keyword.
|
||||||
|
|
||||||
table_gpc_rate(<idx>,<table>)
|
table_gpc_rate(<idx>[,<table>])
|
||||||
Uses the string representation of the input sample to perform a lookup in
|
Uses the string representation of the input sample to perform a lookup in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the frequency which the Global
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
Purpose Counter at index <idx> of the array (associated to the input sample
|
converter returns the frequency which the Global Purpose Counter at index
|
||||||
in the designated stick-table <table>) was incremented over the
|
<idx> of the array (associated to the input sample in the designated
|
||||||
configured period. <idx> is an integer between 0 and 99.
|
stick-table <table>) was incremented over the configured period. <idx> is an
|
||||||
If there is no gpc_rate stored at this index, it also returns the boolean
|
integer between 0 and 99. If there is no gpc_rate stored at this index, it
|
||||||
value 0.
|
also returns the boolean value 0.
|
||||||
This applies only to the 'gpc_rate' array data_type (and not to the
|
This applies only to the 'gpc_rate' array data_type (and not to the
|
||||||
legacy 'gpc0_rate' nor 'gpc1_rate' data_types).
|
legacy 'gpc0_rate' nor 'gpc1_rate' data_types).
|
||||||
See also the sc_gpc_rate sample fetch keyword.
|
See also the sc_gpc_rate sample fetch keyword.
|
||||||
|
|
||||||
table_gpt(<idx>,<table>)
|
table_gpt(<idx>[,<table>])
|
||||||
Uses the string representation of the input sample to perform a lookup in
|
Uses the string representation of the input sample to perform a lookup in
|
||||||
the specified table. If the key is not found in the table, boolean value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the current value of the general
|
is not found in the table, boolean value zero is returned. Otherwise the
|
||||||
purpose tag at the index <idx> of the array associated to the input sample
|
converter returns the current value of the general purpose tag at the index
|
||||||
in the designated <table>. <idx> is an integer between 0 and 99.
|
<idx> of the array associated to the input sample in the designated <table>.
|
||||||
If there is no GPT stored at this index, it also returns the boolean value 0.
|
<idx> is an integer between 0 and 99. If there is no GPT stored at this index,
|
||||||
This applies only to the 'gpt' array data_type (and not on the legacy 'gpt0'
|
it also returns the boolean value 0. This applies only to the 'gpt' array
|
||||||
data-type).
|
data_type (and not on the legacy 'gpt0' data-type).
|
||||||
See also the sc_get_gpt sample fetch keyword.
|
See also the sc_get_gpt sample fetch keyword.
|
||||||
|
|
||||||
table_gpt0(<table>)
|
table_gpt0([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, boolean value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the current value of the first
|
is not found in the table, boolean value zero is returned. Otherwise the
|
||||||
general purpose tag associated with the input sample in the designated table.
|
converter returns the current value of the first general purpose tag
|
||||||
See also the sc_get_gpt0 sample fetch keyword.
|
associated with the input sample in the designated table. See also the
|
||||||
|
sc_get_gpt0 sample fetch keyword.
|
||||||
|
|
||||||
table_http_err_cnt(<table>)
|
table_http_err_cnt([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the cumulative number of HTTP
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
errors associated with the input sample in the designated table. See also the
|
converter returns the cumulative number of HTTP errors associated with the
|
||||||
sc_http_err_cnt sample fetch keyword.
|
input sample in the designated table. See also the sc_http_err_cnt sample
|
||||||
|
fetch keyword.
|
||||||
|
|
||||||
table_http_err_rate(<table>)
|
table_http_err_rate([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the average rate of HTTP errors associated with the
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
input sample in the designated table, measured in amount of errors over the
|
average rate of HTTP errors associated with the input sample in the designated
|
||||||
period configured in the table. See also the sc_http_err_rate sample fetch
|
table, measured in amount of errors over the period configured in the table.
|
||||||
keyword.
|
See also the sc_http_err_rate sample fetch keyword.
|
||||||
|
|
||||||
table_http_fail_cnt(<table>)
|
table_http_fail_cnt([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the cumulative number of HTTP
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
failures associated with the input sample in the designated table. See also
|
converter returns the cumulative number of HTTP failures associated with the
|
||||||
the sc_http_fail_cnt sample fetch keyword.
|
input sample in the designated table. See also the sc_http_fail_cnt sample
|
||||||
|
fetch keyword.
|
||||||
|
|
||||||
table_http_fail_rate(<table>)
|
table_http_fail_rate([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the average rate of HTTP failures associated with the
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
input sample in the designated table, measured in amount of failures over the
|
average rate of HTTP failures associated with the input sample in the
|
||||||
period configured in the table. See also the sc_http_fail_rate sample fetch
|
designated table, measured in amount of failures over the period configured
|
||||||
keyword.
|
in the table. See also the sc_http_fail_rate sample fetch keyword.
|
||||||
|
|
||||||
table_http_req_cnt(<table>)
|
table_http_req_cnt([<table>])
|
||||||
|
Uses the string representation of the input sample to perform a look up in the
|
||||||
|
current proxy's stick-table or in the designated stick-table. If the key is
|
||||||
|
not found in the table, integer value zero is returned. Otherwise the
|
||||||
|
converter returns the cumulative number of HTTP requests associated with the
|
||||||
|
input sample in the designated table. See also the sc_http_req_cnt sample
|
||||||
|
fetch keyword.
|
||||||
|
|
||||||
|
table_http_req_rate([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the cumulative number of HTTP
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
requests associated with the input sample in the designated table. See also
|
average rate of HTTP requests associated with the input sample in the
|
||||||
the sc_http_req_cnt sample fetch keyword.
|
designated table, measured in amount of requests over the period configured in
|
||||||
|
the table. See also the sc_http_req_rate sample fetch keyword.
|
||||||
|
|
||||||
table_http_req_rate(<table>)
|
table_idle([<table>[,<default_value>]])
|
||||||
|
Uses the input sample to perform a look up in the current proxy's stick-table
|
||||||
|
or in the designated stick-table. If the key is not found in the table, the
|
||||||
|
converter fails except if <default_value> is set: this makes the converter
|
||||||
|
succeed and return <default_value>. If the key is found the converter returns
|
||||||
|
the time the key entry associated with the input sample in the designated
|
||||||
|
table remained idle since the last time it was updated. See also the
|
||||||
|
table_expire sample fetch keyword.
|
||||||
|
|
||||||
|
table_kbytes_in([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the average rate of HTTP requests associated with the
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
input sample in the designated table, measured in amount of requests over the
|
converter returns the cumulative number of client-to-server data associated
|
||||||
period configured in the table. See also the sc_http_req_rate sample fetch
|
with the input sample in the designated table, measured in kilobytes. The test
|
||||||
keyword.
|
is currently performed on 32-bit integers, which limits values to 4 terabytes.
|
||||||
|
See also the sc_kbytes_in sample fetch keyword.
|
||||||
|
|
||||||
table_idle(<table>[,<default_value>])
|
table_kbytes_out([<table>])
|
||||||
Uses the input sample to perform a look up in the specified table. If the key
|
|
||||||
is not found in the table, the converter fails except if <default_value> is
|
|
||||||
set: this makes the converter succeed and return <default_value>. If the key
|
|
||||||
is found the converter returns the time the key entry associated with the
|
|
||||||
input sample in the designated table remained idle since the last time it was
|
|
||||||
updated.
|
|
||||||
See also the table_expire sample fetch keyword.
|
|
||||||
|
|
||||||
table_kbytes_in(<table>)
|
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the cumulative number of client-
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
to-server data associated with the input sample in the designated table,
|
converter returns the cumulative number of server-to-client data associated
|
||||||
measured in kilobytes. The test is currently performed on 32-bit integers,
|
with the input sample in the designated table, measured in kilobytes. The test
|
||||||
which limits values to 4 terabytes. See also the sc_kbytes_in sample fetch
|
is currently performed on 32-bit integers, which limits values to 4 terabytes.
|
||||||
keyword.
|
See also the sc_kbytes_out sample fetch keyword.
|
||||||
|
|
||||||
table_kbytes_out(<table>)
|
table_server_id([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the cumulative number of server-
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
to-client data associated with the input sample in the designated table,
|
converter returns the server ID associated with the input sample in the
|
||||||
measured in kilobytes. The test is currently performed on 32-bit integers,
|
designated table. A server ID is associated to a sample by a "stick" rule when
|
||||||
which limits values to 4 terabytes. See also the sc_kbytes_out sample fetch
|
a connection to a server succeeds. A server ID zero means that no server is
|
||||||
keyword.
|
associated with this key.
|
||||||
|
|
||||||
table_server_id(<table>)
|
table_sess_cnt([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the server ID associated with
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
the input sample in the designated table. A server ID is associated to a
|
converter returns the cumulative number of incoming sessions associated with
|
||||||
sample by a "stick" rule when a connection to a server succeeds. A server ID
|
the input sample in the designated table. Note that a session here refers to
|
||||||
zero means that no server is associated with this key.
|
an incoming connection being accepted by the "tcp-request connection"
|
||||||
|
rulesets. See also the sc_sess_cnt sample fetch keyword.
|
||||||
|
|
||||||
table_sess_cnt(<table>)
|
table_sess_rate([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the cumulative number of incoming
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
sessions associated with the input sample in the designated table. Note that
|
converter returns the average incoming session rate associated with the input
|
||||||
a session here refers to an incoming connection being accepted by the
|
sample in the designated table. Note that a session here refers to an incoming
|
||||||
"tcp-request connection" rulesets. See also the sc_sess_cnt sample fetch
|
connection being accepted by the "tcp-request connection" rulesets. See also
|
||||||
keyword.
|
the sc_sess_rate sample fetch keyword.
|
||||||
|
|
||||||
table_sess_rate(<table>)
|
table_trackers([<table>])
|
||||||
Uses the string representation of the input sample to perform a look up in
|
Uses the string representation of the input sample to perform a look up in
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
the current proxy's stick-table or in the designated stick-table. If the key
|
||||||
is returned. Otherwise the converter returns the average incoming session
|
is not found in the table, integer value zero is returned. Otherwise the
|
||||||
rate associated with the input sample in the designated table. Note that a
|
converter returns the current amount of concurrent connections tracking the
|
||||||
session here refers to an incoming connection being accepted by the
|
same key as the input sample in the designated table. It differs from
|
||||||
"tcp-request connection" rulesets. See also the sc_sess_rate sample fetch
|
table_conn_cur in that it does not rely on any stored information but on the
|
||||||
keyword.
|
table's reference count (the "use" value which is returned by "show table" on
|
||||||
|
the CLI). This may sometimes be more suited for layer7 tracking. It can be
|
||||||
table_trackers(<table>)
|
used to tell a server how many concurrent connections there are from a given
|
||||||
Uses the string representation of the input sample to perform a look up in
|
address for example. See also the sc_trackers sample fetch keyword.
|
||||||
the specified table. If the key is not found in the table, integer value zero
|
|
||||||
is returned. Otherwise the converter returns the current amount of concurrent
|
|
||||||
connections tracking the same key as the input sample in the designated
|
|
||||||
table. It differs from table_conn_cur in that it does not rely on any stored
|
|
||||||
information but on the table's reference count (the "use" value which is
|
|
||||||
returned by "show table" on the CLI). This may sometimes be more suited for
|
|
||||||
layer7 tracking. It can be used to tell a server how many concurrent
|
|
||||||
connections there are from a given address for example. See also the
|
|
||||||
sc_trackers sample fetch keyword.
|
|
||||||
|
|
||||||
ub64dec
|
ub64dec
|
||||||
This converter is the base64url variant of b64dec converter. base64url
|
This converter is the base64url variant of b64dec converter. base64url
|
||||||
|
Loading…
Reference in New Issue
Block a user