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

PLEASE add flag to show the run-time log #52

Closed gumpjt closed 5 years ago

gumpjt commented 5 years ago

I follow the guide by the doc and run some cmd like:

aliyunlog log get_log_all --project="testproject" --logstore="test" --query="msg:find" --from_time="2018-12-06 13:58:25 CST" --to_time="2018-12-13 13:58:25 CST" --region-endpoint="cn-hangzhou.log.aliyuncs.com" --jmes-filter="join('\n', map(&to_string(@), @))" --access-id="【步骤2中的秘钥ID】" --access-key="【步骤2中的秘钥Key】" >> /downloaded_data.txt

I replaced the ID/KEY and run this cmd, but nothing happened...

Please at least add a flag to show the error info...

wjo1212 commented 5 years ago

@gumpjt kindly let me know if you need further help. the data is written to the downloaded_data.txt