Api Keys endpoints
User endpoints
Export endpoints
Logs endpoints
Usage endpoints
Search endpoints
Logs endpoints
Create a new log
POST
/
logs
curl --request POST \
--url https://api.eu.bronto.io/logs \
--header 'Content-Type: application/json' \
--header 'X-BRONTO-API-KEY: <api-key>' \
--data '{
"logset": "demo",
"log": "http"
}'
{
"logset": "demo",
"log": "firewall",
"log_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_system_generated": false,
"tags": {
"region": "eu",
"environment": "production"
},
"drop_events": 0,
"level": "trace"
}
Authorizations
Body
application/json
Response
201
application/json
Log created successfully
The response is of type object
.
curl --request POST \
--url https://api.eu.bronto.io/logs \
--header 'Content-Type: application/json' \
--header 'X-BRONTO-API-KEY: <api-key>' \
--data '{
"logset": "demo",
"log": "http"
}'
{
"logset": "demo",
"log": "firewall",
"log_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_system_generated": false,
"tags": {
"region": "eu",
"environment": "production"
},
"drop_events": 0,
"level": "trace"
}
Assistant
Responses are generated using AI and may contain mistakes.