You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/02/08 02:16:44 UTC

[GitHub] [apisix] tzssangglass commented on a change in pull request #6215: feat: clickhouse logger

tzssangglass commented on a change in pull request #6215:
URL: https://github.com/apache/apisix/pull/6215#discussion_r801208708



##########
File path: docs/zh/latest/plugins/clickhouse-logger.md
##########
@@ -0,0 +1,146 @@
+---
+title: clickhouse-logger
+---
+
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+-->
+
+## 目录
+
+- [**定义**](#定义)
+- [**属性列表**](#属性列表)
+- [**如何开启**](#如何开启)
+- [**测试插件**](#测试插件)
+- [**插件元数据设置**](#插件元数据设置)
+- [**禁用插件**](#禁用插件)
+
+## 定义
+
+`clickhouse-logger` 是一个插件,可将Log数据请求推送到clickhouse服务器。
+
+## 属性列表
+
+| 名称             | 类型    | 必选项 | 默认值        | 有效值  | 描述                                             |
+| ---------------- | ------- | ------ | ------------- | ------- | ------------------------------------------------ |
+| endpoint_addr    | string  | 必须   |               |         | `clickhouse` 服务器的 endpoint。                   |
+| database         | string  | 必须   |               |         | 使用的数据库。                                    |
+| logtable         | string  | 必须   |               |         | 写入的表名 。    |
+| user             | string  | 必须   |               |         |clickhouse的用户。 |
+| password         | string  | 必须   |               |         |clickhouse的密码 。  |

Review comment:
       ```suggestion
   | user             | string  | 必须   |               |         | clickhouse的用户。 |
   | password         | string  | 必须   |               |         | clickhouse的密码 。  |
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org