Retrieve all connected S3 buckets
GET/v1/log-shipping/s3-buckets
Returns a list of all S3 buckets connected to your Logz.io account. Please ensure to change the region in the URL to match your account's region.
Request
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
AWS S3 bucket access key
AWS S3 bucket secret key
Amazon Resource Name (ARN) to uniquely identify the S3 bucket. To generate a new ARN, create a new IAM Role in your AWS admin console.
AWS S3 bucket name
Prefix of the AWS S3 bucket
Default value: true
If true
, the S3 bucket connector is active and logs are being fetched to Logz.io. If false
, the connector is disabled.
Default value: false
If true
, enriches logs with a new field detailing the S3 object key.
Possible values: [US_EAST_1
, US_EAST_2
, US_WEST_1
, US_WEST_2
, EU_WEST_1
, EU_WEST_2
, EU_WEST_3
, EU_CENTRAL_1
, AP_NORTHEAST_1
, AP_NORTHEAST_2
, AP_SOUTHEAST_1
, AP_SOUTHEAST_2
, SA_EAST_1
, AP_SOUTH_1
, CA_CENTRAL_1
]
Specify one supported AWS region.
Possible values: [elb
, vpcflow
, S3Access
, cloudfront
]
Specifies the log type being sent to Logz.io. Determines the parsing pipeline used to parse and map the logs. Learn more about parsing options supported by Logz.io.
[
{
"accessKey": "ee07df5801500745419c6dff",
"secretKey": "506d891fe2163a511b450eddc3279539f6",
"arn": "string",
"bucket": "AWS bucket",
"prefix": "AWSLogs/7364988021587/myprefix",
"active": true,
"addS3ObjectKeyAsLogField": true,
"region": "US_EAST_1",
"logsType": "elb"
}
]