aliyun / aliyun-log-cli

Command Line Interface for Aliyun Log Service
http://aliyun-log-cli.readthedocs.io
MIT License
60 stars 20 forks source link

support copy data from logstore into multiple logstore splitting by topic/certain fields #46

Closed wjo1212 closed 6 years ago

wjo1212 commented 6 years ago

support copy data from logstore into multiple logstore splitting by topic/certain fields.

background: when data volume increase rapidly, need to split logstore, this feature will allow user to copy historical data into different logstore.

copy_data ...(same as current one) .... --to_logstore="topic:value:logstore1|filed1:value2:logstore2|*" --to_project="p1|p2" --to_client="client" let's support keep in same region.

if to_project contains '|', the count must be same as --to_logstore, or else, it will confuse how to choose the destination

wjo1212 commented 6 years ago

supported by aliyun-log-python-sdk 0.6.36