Skip to content

Commit e12b860

Browse files
committed
chore: update doc
1 parent 9785208 commit e12b860

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/user-guide/logs/write-logs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ mode](/user-guide/deployments-administration/performance-tuning/design-table.md#
273273

274274
## Skip Errors with skip_error
275275

276-
If you want to skip errors when writing logs, you can add the `skip_error=true` parameter to your request. You can use the `skip_error` parameter with the following command:
276+
If you want to skip errors when writing logs, you can add the `skip_error` parameter to the HTTP request's query params. For example:
277277

278278
```shell
279279
curl -X "POST" "http://localhost:4000/v1/events/logs?db=<db-name>&table=<table-name>&pipeline_name=<pipeline-name>&version=<pipeline-version>&skip_error=true" \
@@ -282,4 +282,4 @@ curl -X "POST" "http://localhost:4000/v1/events/logs?db=<db-name>&table=<table-n
282282
-d "$<log-items>"
283283
```
284284

285-
With this, GreptimeDB will skip the log entry when an error is encountered and continue processing the remaining logs. The entire request will not fail due to an error in a single
285+
With this, GreptimeDB will skip the log entry when an error is encountered and continue processing the remaining logs. The entire request will not fail due to an error in a single log entry.

i18n/zh/docusaurus-plugin-content-docs/current/user-guide/logs/write-logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ processors:
272272

273273
## 使用 skip_error 跳过错误
274274

275-
如果你希望在写入日志时跳过错误,可以在请求中添加 `skip_error=true` 参数。你可以通过以下命令使用 `skip_error` 参数:
275+
如果你希望在写入日志时跳过错误,可以在 HTTP 请求的 query params 中添加 `skip_error` 参数。比如
276276

277277
```shell
278278
curl -X "POST" "http://localhost:4000/v1/events/logs?db=<db-name>&table=<table-name>&pipeline_name=<pipeline-name>&version=<pipeline-version>&skip_error=true" \

0 commit comments

Comments
 (0)