无法使用API​​下载日志文件

时间:2016-08-25 05:40:30

标签: api ibm-cloud-infrastructure

当我在命令下运行时,无法解析从myside过滤。我收到SL日志的第二天日志记录。请帮我解决这个问题。

[root@syslogserver ~]# curl -X GET -u username:password -g https://api.service.softlayer.com/rest/v3/SoftLayer_Event_Log/getAllObjects.json?objectFilter={"eventCreateDate":{"operation":"betweenDate","options":[{"name":"startDate","value":"2016-08-22t15:45:02.476"},{"name":"endDate","value":"2016-08-23t12:27:59.538"}]}}&resultLimit=0,500 [1] 21905

[root@syslogserver ~]# {"error":"Unable to parse object filter.","code":"SoftLayer_Exception_Public"}{"error":"Unable to parse object filter.","code":"SoftLayer_Exception_Public"}{"error":"Unable to parse object filter.","code":"SoftLayer_Exception_Public"}{"error":"Unable to parse object filter.","code":"SoftLayer_Exception_Public"}{"error":"Unable to parse object filter.","code":"SoftLayer_Exception_Public"}

由于

1 个答案:

答案 0 :(得分:0)

目前,无法在 eventCreateDate 属性中应用objectFilter。对此给您带来的不便表示歉意。如果有计划修复它,我会通知你。

可能使用编程语言进行过滤,看看SoftLayer支持的编程语言:

SoftLayer Development Network