You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/latest/plugins/clickhouse-logger.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ The `clickhouse-logger` Plugin is used to push logs to [ClickHouse](https://clic
44
44
| timeout | integer | False | 3 |[1,...]| Time to keep the connection alive for after sending a request. |
45
45
| name | string | False | "clickhouse logger" || Unique identifier for the logger. If you use Prometheus to monitor APISIX metrics, the name is exported in `apisix_batch_process_entries`. |
46
46
| ssl_verify | boolean | False | true |[true,false]| When set to `true`, verifies SSL. |
47
-
| log_format | object | False ||| Log format declared as keyvalue pairs in JSON format. Values only support strings. [APISIX](../apisix-variable.md) or [Nginx](http://nginx.org/en/docs/varindex.html) variables can be used by prefixing the string with `$`. |
47
+
| log_format | object | False ||| Log format declared as key-value pairs in JSON. Values support strings and nested objects (up to five levels deep; deeper fields are truncated). Within strings, [APISIX](../apisix-variable.md) or [NGINX](http://nginx.org/en/docs/varindex.html) variables can be referenced by prefixing with `$`. |
48
48
| include_req_body | boolean | False | false |[false, true]| When set to `true` includes the request body in the log. If the request body is too big to be kept in the memory, it can't be logged due to Nginx's limitations. |
49
49
| include_req_body_expr | array | False ||| Filter for when the `include_req_body` attribute is set to `true`. Request body is only logged when the expression set here evaluates to `true`. See [lua-resty-expr](https://github.com/api7/lua-resty-expr) for more. |
50
50
| include_resp_body | boolean | False | false |[false, true]| When set to `true` includes the response body in the log. |
@@ -103,7 +103,7 @@ You can also set the format of the logs by configuring the Plugin metadata. The
103
103
104
104
| Name | Type | Required | Default | Description |
| log_format | object | False || Log format declared as keyvalue pairs in JSON format. Values only support strings. [APISIX](../apisix-variable.md) or [Nginx](http://nginx.org/en/docs/varindex.html) variables can be used by prefixing the string with `$`. |
106
+
| log_format | object | False || Log format declared as key-value pairs in JSON. Values support strings and nested objects (up to five levels deep; deeper fields are truncated). Within strings, [APISIX](../apisix-variable.md) or [NGINX](http://nginx.org/en/docs/varindex.html) variables can be referenced by prefixing with `$`. |
107
107
| max_pending_entries | integer | False || Maximum number of pending entries that can be buffered in batch processor before it starts dropping them. |
| log_format | object | False || Custom log format in key-value pairs in JSON format. Support [APISIX](../apisix-variable.md) or [NGINX variables](http://nginx.org/en/docs/varindex.html)in values. |
45
+
| log_format | object | False || Custom log format as key-value pairs in JSON. Values support strings and nested objects (up to five levels deep; deeper fields are truncated). Within strings, [APISIX](../apisix-variable.md) or [NGINX variables](http://nginx.org/en/docs/varindex.html)can be referenced by prefixing with `$`. |
| log_format | object | False ||Custom log format in key-value pairs in JSON format. Support [APISIX variables](../apisix-variable.md)and[NGINX variables](http://nginx.org/en/docs/varindex.html)in values. |
64
+
| log_format | object | False ||Log format declared as key-value pairs in JSON. Values support strings and nested objects (up to five levels deep; deeper fields are truncated). Within strings, [APISIX](../apisix-variable.md)or[NGINX](http://nginx.org/en/docs/varindex.html)variables can be referenced by prefixing with `$`. |
65
65
| max_pending_entries | integer | False || Maximum number of pending entries that can be buffered in batch processor before it starts dropping them. |
0 commit comments