Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Release History

### 0.6.57 (2020-09-09)
### 0.7.0 (2021-10-17)
----------------------------
**Implementations**
- Add resources api
- Update elasticsearch migration to use scroll
- fix version of protobuf as 3.17.3 to keep compatible with Python 2


### 0.6.57 (2021-09-09)
----------------------------
**Implementations**
- Add executeSQl apis
Expand Down
2 changes: 1 addition & 1 deletion aliyun/log/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.6.58'
__version__ = '0.7.0'

import sys
OS_VERSION = str(sys.platform)
Expand Down
1 change: 1 addition & 0 deletions doc/tutorials/tutorial_es_migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ MigrationManager 内部使用 [Scroll API](https://www.elastic.co/guide/en/elast
| 参数 | 必选 | 说明 | 样例 |
| -------- | -------- | -------- | -------- |
| cache_path | yes | 用于缓存迁移进度的本地文件位置,实现断点续传。当存在迁移缓存的时候,以下参数中`time_reference`更改无效。对新的迁移任务,请确认指定路径为空文件夹,以防迁移任务受干扰。 | /path/to/cache |
| cache_duration | no | 缓存有效时间,基于 elasticsearch scroll 实现。当前一次迁移操作退出时间长度超过该时间段时,缓存失效,不能继续使用于断点续传。默认值是 1d。 | 1d<br>20h |
| hosts | yes | elasticsearch 数据源地址列表,多个 host 之间用逗号分隔。 | "127.0.0.1:9200"<br>"localhost:9200,other_host:9200"<br>"user:secret@localhost:9200" |
| indexes | no | elasticsearch index 列表,多个 index 之间用逗号分隔,支持通配符(*)。<br>默认抓取目标 es 中所有 index 的数据。 | "index1"<br>"my_index*,other_index" |
| query | no | 用于过滤文档,使用该参数您可以指定需要迁移的文档。<br>默认不会对文档进行过滤。 | '{"query": {"match": {"title": "python"}}}' |
Expand Down