GetEdgeContainerAppLogRiver - 获取边缘容器日志采集配置信息

获取边缘容器应用日志采集配置。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
AppIdstring

应用 ID,可使用 ListEdgeContainerApps 接口获取应用 ID。

app-880688675****88

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

请求 ID。

0AEDAF20-4DDF-4165-8750-47FF9C1929C9
Stdoutboolean

开启容器的标准输出采集。

Pathstring

容器的日志文件路径,必须为绝对路径,以“/”开头;支持使用星号(*)和半角问号(?)通配符。

/root/hello.log

示例

正常返回示例

JSON格式

{
  "RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C9",
  "Stdout": true,
  "Path": "/root/hello.log"
}

错误码

HTTP status code错误码错误信息描述
400InvalidParameter.appidThe format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID.传入的应用ID格式不正确,可使用ListEdgeContainerApps接口获取应用ID。
400InvalidParameterInvalid parameter. Check the parameter configuration.参数正确性校验失败,请检查的参数内容。
404InvalidApp.NotFoundThe application does not exist. Check whether the application ID you specified is correct and try again.您传入的应用ID对应的应用不存在,请检查后重试。
500InternalErrorFailed to call the service. Try again later or contact technical support.调用服务失败,请稍后重试或联系客服咨询详情。

访问错误中心查看更多错误码。