Skip to content

Commit

Permalink
fix formatting issue in readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
wjo1212 committed Nov 22, 2017
1 parent f161a57 commit 2fa2ad4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,15 @@ access-key=
endpoint=
```

**You could use the command `Configure` to store them directly.**
**You could use the command "configure" to store them directly.**

```shell
> aliyun configure access_id access_key cn-beijing.log.aliyun.com
```


**Multiple Account**

1. You could store multiple accounts for some use cases (e.g. test, multiple region operations)

```shell
Expand Down Expand Up @@ -221,6 +222,7 @@ All the commands support below optional global options:
#### Full command list:

**project**

- list_project
- create_project
- get_project
Expand All @@ -235,6 +237,7 @@ All the commands support below optional global options:
- 注意: `to_client`是通过aliyun configure配置的其他账户, 也可以不传或传`main`同域复制.

**logstore**

- create_logstore
- delete_logstore
- get_logstore
Expand All @@ -244,12 +247,14 @@ All the commands support below optional global options:


**shard**

- list_shards
- split_shard
- merge_shard


**machine group**

- create_machine_group
- Format of partial parameter:

Expand All @@ -276,6 +281,7 @@ All the commands support below optional global options:
- list_machines

**logtail config**

- create_logtail_config
- Format of partial parameter:

Expand Down Expand Up @@ -321,6 +327,7 @@ All the commands support below optional global options:


**index**

- create_index
- Format of partial parameter:

Expand Down Expand Up @@ -397,13 +404,15 @@ All the commands support below optional global options:
- get_index_config

**cursor**

- get_cursor
- get_cursor_time
- get_previous_cursor_time
- get_begin_cursor
- get_end_cursor

**logs**

- put_logs
- Format of parameter:

Expand Down Expand Up @@ -476,6 +485,7 @@ All the commands support below optional global options:
- pull_logs

**shipper**

- create_shipper
- Format of partial parameter:

Expand All @@ -498,6 +508,7 @@ All the commands support below optional global options:
- retry_shipper_tasks

**consumer group**

- create_consumer_group
- update_consumer_group
- delete_consumer_group
Expand Down
12 changes: 12 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ endpoint=


**多账户**

1. 存储与多个账户, 以便在特定情况下使用(例如测试):

```shell
Expand Down Expand Up @@ -132,6 +133,7 @@ endpoint=cn-hangzhou.log.aliyun.com
```

2. 文件输入

也可以将上面参数放到一个文件里面, 简化命令行, 需要义`file://`开头+文件路径即可:

```shell
Expand Down Expand Up @@ -228,6 +230,7 @@ def create_logstore(self, project_name, logstore_name, ttl=2, shard_count=30):
#### 完整命令列表:

**项目组**

- list_project
- create_project
- get_project
Expand All @@ -242,6 +245,7 @@ def create_logstore(self, project_name, logstore_name, ttl=2, shard_count=30):
- 注意: `to_client`是通过aliyun configure配置的其他账户, 也可以不传或传`main`同域复制.

**日志库**

- create_logstore
- delete_logstore
- get_logstore
Expand All @@ -251,13 +255,15 @@ def create_logstore(self, project_name, logstore_name, ttl=2, shard_count=30):


**分区**

- list_shards
- split_shard
- merge_shard



**机器组**

- create_machine_group
- 部分参数格式:

Expand All @@ -284,6 +290,7 @@ def create_logstore(self, project_name, logstore_name, ttl=2, shard_count=30):
- list_machines

**Logtail配置**

- create_logtail_config
- 部分参数格式:

Expand Down Expand Up @@ -329,6 +336,7 @@ def create_logstore(self, project_name, logstore_name, ttl=2, shard_count=30):


**索引**

- create_index
- 部分参数格式:

Expand Down Expand Up @@ -405,13 +413,15 @@ def create_logstore(self, project_name, logstore_name, ttl=2, shard_count=30):
- get_index_config

**游标**

- get_cursor
- get_cursor_time
- get_previous_cursor_time
- get_begin_cursor
- get_end_cursor

**日志**

- put_logs
- 参数格式:

Expand Down Expand Up @@ -484,6 +494,7 @@ def create_logstore(self, project_name, logstore_name, ttl=2, shard_count=30):
- pull_logs

**投递**

- create_shipper
- 部分参数格式:

Expand All @@ -506,6 +517,7 @@ def create_logstore(self, project_name, logstore_name, ttl=2, shard_count=30):
- retry_shipper_tasks

**消费组**

- create_consumer_group
- update_consumer_group
- delete_consumer_group
Expand Down

0 comments on commit 2fa2ad4

Please sign in to comment.