diff --git a/docs/en_US/guide/sources/builtin/http_pull.md b/docs/en_US/guide/sources/builtin/http_pull.md index 8abaf13922..53fd86adaa 100644 --- a/docs/en_US/guide/sources/builtin/http_pull.md +++ b/docs/en_US/guide/sources/builtin/http_pull.md @@ -134,7 +134,7 @@ Key dynamic properties include: - `PullTime`: The timestamp of the current pull time in int64 format. - `LastPullTime`: The timestamp of the last pull time in int64 format. - Properties from oAuth: The properties from the oAuth response body. For example, if access request return json - body `{"token": "xxxxxx"}`. Then you can use `{{.token}}` to get the token. + body `{"token": "xxxxxx"}`. Then you can use `{{.token}}` to get the token. For HTTP services that allow time-based filtering, `PullTime` and `LastPullTime` can be harnessed for incremental data pulls. Depending on how the service accepts time parameters: diff --git a/docs/zh_CN/guide/sources/builtin/http_pull.md b/docs/zh_CN/guide/sources/builtin/http_pull.md index dac2399179..ad4a056cb2 100644 --- a/docs/zh_CN/guide/sources/builtin/http_pull.md +++ b/docs/zh_CN/guide/sources/builtin/http_pull.md @@ -132,7 +132,8 @@ OAuth 2.0 是一个授权协议,让 API 客户端有限度地访问网络服 - `PullTime`:本次拉取的 int64 格式时间戳。 - `LastPullTime`:上次拉取的 int64 格式时间戳。 -- 来自 oAuth 的属性:oAuth 返回体的属性也可以使用。 例如,假设返回体为 `{"token": "xxxxxx"}`,则可通过 `{{.token}}` 访问 +- 来自 oAuth 的属性:oAuth 返回体的属性也可以使用。 例如,假设返回体为 `{"token": "xxxxxx"}` + ,则可通过 `{{.token}}` 访问 token 。 若目标 HTTP 服务支持过滤开始和结束时间,可以使用这两个属性来实现增量拉取。