Cloud Watch Logs

API used to manage cloud watch log configuration.

Get CloudWatch log configuration from appliance

get/appliances/{id}/cloudwatchlogconfig
SecurityTrend Micro Cloud One API Key
Request
path Parameters
id
required
integer <int64>

Appliance ID

header Parameters
api-version
required
string

API Version, e.g. v1

Value: "v1"
Responses
200

OK

401

Unauthorized

403

Forbidden

404

The appliance is not found, or it does not support this API.

Response samples
application/json
{
  • "totalCount": 0,
  • "next": "string",
  • "logTypes": [
    ]
}

Set CloudWatch log configuration in appliance

post/appliances/{id}/cloudwatchlogconfig
SecurityTrend Micro Cloud One API Key
Request
path Parameters
id
required
integer <int64>

Appliance ID

header Parameters
api-version
required
string

API Version, e.g. v1

Value: "v1"
Request Body schema: application/json

List of CloudWatch log Configurations

Array of objects (CloudWatchLogType)

List of CloudWatch log configurations

next
string

String value pointing to the next page of results after the last request.

totalCount
integer <int64>

The total number of objects matched

Responses
200

OK

201

Created

401

Unauthorized

403

Forbidden

404

The appliance is not found, or it does not support this API.

409

The configuration's 'logName' or 'logStreamName' is not unique.

Request samples
application/json
{
  • "totalCount": 0,
  • "next": "string",
  • "logTypes": [
    ]
}
Response samples
application/json
{
  • "totalCount": 0,
  • "next": "string",
  • "logTypes": [
    ]
}