Retrieve CloudTrail connector by ID
GET/v1/log-shipping/cloudtrails/:id
Returns details for a CloudTrail connector, identified by its ID.
Note: This endpoint requires permissions that must be set by our Support team. Please email help@logz.io for assistance. Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
id int32required
Logz.io ID of the CloudTrail connector
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
id int32
Logz.io ID of the CloudTrail connector. Use this ID to perform operations on the connector using Logz.io API endpoints.
accessKey string
AWS S3 access key
bucket string
AWS S3 bucket name
prefix string
Prefix of the AWS S3 bucket
active boolean
If true
, the CloudTrail connector is active and logs are being shipped to Logz.io. If false
, the connector is disabled.
{
"id": 15,
"accessKey": "ee07df5801500745419c6dff",
"bucket": "cloudtrails bucket",
"prefix": "AWSLogs/7364988021587/myprefix",
"active": true
}
Loading...