Api Keys endpoints
User endpoints
Export endpoints
Logs endpoints
Usage endpoints
Search endpoints
Forward endpoints
Create a new forward config
Create a forward config, to forward log events outside the Bronto system
POST
/
forward-configs
curl --request POST \
--url https://api.eu.bronto.io/forward-configs \
--header 'Content-Type: application/json' \
--header 'X-BRONTO-API-KEY: <api-key>' \
--data '{
"name": "Archive data to S3",
"description": "Sending data to S3 for long term store",
"filter": "level='\''ERROR'\'' or level='\''WARN'\''",
"compression": "ZSTD",
"all_logs": true,
"log_ids": [
"<string>"
],
"max_payload_size_bytes": 10000000,
"max_payload_size_events": 1000,
"max_buffer_time_ms": 300000,
"destination": {
"destination_type": "S3",
"bucket": "my-archive-bucket",
"prefix": "bronto/archives/",
"storage_class": "STANDARD"
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Archive data to S3",
"description": "Sending data to S3 for long term store",
"filter": "level='ERROR' or level='WARN'",
"compression": "ZSTD",
"all_logs": true,
"log_ids": [
"<string>"
],
"max_payload_size_bytes": 10000000,
"max_payload_size_events": 1000,
"max_buffer_time_ms": 300000,
"destination": {
"destination_type": "S3",
"bucket": "my-archive-bucket",
"prefix": "bronto/archives/",
"storage_class": "STANDARD"
},
"created_at": 1710948395538
}
This feature allows users to forward log events outside of Bronto. A common use case would be archiving your log data to an AWS S3 bucket.
Authorizations
Body
application/json
Response
201
application/json
Forward config is created successfully
The response is of type object
.
curl --request POST \
--url https://api.eu.bronto.io/forward-configs \
--header 'Content-Type: application/json' \
--header 'X-BRONTO-API-KEY: <api-key>' \
--data '{
"name": "Archive data to S3",
"description": "Sending data to S3 for long term store",
"filter": "level='\''ERROR'\'' or level='\''WARN'\''",
"compression": "ZSTD",
"all_logs": true,
"log_ids": [
"<string>"
],
"max_payload_size_bytes": 10000000,
"max_payload_size_events": 1000,
"max_buffer_time_ms": 300000,
"destination": {
"destination_type": "S3",
"bucket": "my-archive-bucket",
"prefix": "bronto/archives/",
"storage_class": "STANDARD"
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "Archive data to S3",
"description": "Sending data to S3 for long term store",
"filter": "level='ERROR' or level='WARN'",
"compression": "ZSTD",
"all_logs": true,
"log_ids": [
"<string>"
],
"max_payload_size_bytes": 10000000,
"max_payload_size_events": 1000,
"max_buffer_time_ms": 300000,
"destination": {
"destination_type": "S3",
"bucket": "my-archive-bucket",
"prefix": "bronto/archives/",
"storage_class": "STANDARD"
},
"created_at": 1710948395538
}
Assistant
Responses are generated using AI and may contain mistakes.