Skip to main content

Create a new CloudTrail connector

POST 

/v1/log-shipping/cloudtrails

Establishes a new connection to a CloudTrail resource. As a result, logs from your CloudTrail resource will ship to the connected Logz.io account via an AWS S3 bucket.

CloudTrail logs will be parsed using the Logz.io custom CloudTrail parsing pipeline.

Note: This endpoint requires permissions that must be set by our Support team. Please email help@logz.io for assistance.

Request

Body

    accessKey string

    AWS S3 access key

    secretKey string

    AWS secret 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.

Responses

successful operation

Schema
    id int32

    Possible values: >= 1

    Logz.io ID of the CloudTrail connector. Use this ID to perform operations on the connector using Logz.io API endpoints.

Loading...