Skip to main content
POST
/
1
/
kinesis_events
/
{datasetSlug}
Create Kinesis Events
curl --request POST \
  --url https://api.honeycomb.io/1/kinesis_events/{datasetSlug} \
  --header 'Content-Type: application/json' \
  --header 'X-Amz-Firehose-Request-Id: <x-amz-firehose-request-id>' \
  --data '
{
  "requestId": "<string>",
  "timestamp": 123,
  "records": [
    {
      "data": "<string>"
    }
  ]
}
'
{
  "requestId": "<string>",
  "timestamp": 123,
  "errorMessage": "<string>"
}

Headers

X-Amz-Firehose-Request-Id
string
required

AWS Request ID associated with the Kinesis Firehose.

Path Parameters

datasetSlug
string
required

The dataset slug.

Body

application/json

The request body expected from Amazon Kinesis Firehose. Events and metrics have the same shape but the base64 encoded data blob for metrics is expected to be Protowire-encoded as well. CloudWatch Logs data coming through Amazon Kinesis Firehose is expected to have a gzip Content-Encoding.

requestId
string
timestamp
integer
records
object[]

Response

Events queued for processing

requestId
string
timestamp
integer
errorMessage
string