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

X-BRONTO-API-KEY
string
header
required

Body

application/json

Response

201
application/json

Log created successfully

The response is of type object.