Skip to content

HTTP Post

POST event data to an HTTPS server.

Http json

output:
http-post:
url: ""
JSON
{
"output": {
"http-post": {
"url": ""
}
}
}

A ✓ marks a field that accepts a context variable such as {{ VARIABLE }}.

Authentication
Field Type Required Description
auth Auth Optional first-class Credential Manager-backed HTTP header.
Allowed values: credential-manager-header
Payload
Field Type Required Description
body Body How to construct the request body (event, field, or literal).
Allowed values: event, field, literal
Processing
Field Type Required Description
batch Batch Collect input events together into batches.
Reliability
Field Type Required Description
retry Retry How to retry failed requests.
Request
Field Type Required Description
url url (string) ✅ The URL may contain ${} field expansions.
Examples: https://example.com/path
headers map (string) HTTP headers of the request.
idempotency-key-field field (string) Field providing the value for the Idempotency-Key header when supported by the sink.
Examples: data_field
method Method HTTP method to use for the query (either ‘get’ or ‘post’).
Allowed values: get, post, put, patch, delete, options, head
Response
Field Type Required Description
acknowledgement Acknowledgement Optional provider acknowledgement contract evaluated after a successful HTTP status.
Security
Field Type Required Description
insecure ✓ boolean (bool) Ignore TLS certificate validation errors (This is unsafe to use).
Default: false
Option Name Type Description
credential-manager-header Credential Manager Header object
Option Name Type Description
event Event map
field Field object
literal Literal object

Field Type Required Description
credential-id ✓ credential-id (string) ✅ Credential Manager id used to hydrate the header value.
Examples: 2b64d2a0-0b76-4cd0-9ef0-3f0ef3d2a9a1
credential-scope-mode Credential Scope Mode ✅ How to choose the scopes bound to this job when using the credential.
Allowed values: allowed, custom
credential-scopes string[] Custom scopes to bind to this job when credential-scope-mode is custom.
material-kind Material Kind Material shape expected from Credential Manager. Omission is retained only for persisted jobs created before this discriminator existed.
Allowed values: bearer-token, http-header
auth-header string Header used to carry the credential value.
Default: Authorization
prefix string Prefix prepended to the credential value. Use an empty string when the activated Credential Manager material already contains the full value.
Default: Bearer

Field Type Required Description
field string ✅

Field Type Required Description
value string ✅ Literal/template request body; supports ${} expansions and multiline YAML strings.
Field Type Required Description
fixed-size ✓ number (integer) maximum number of events in an output batch.
Examples: 42, 1.2e-10
max-bytes ✓ number (integer) Close the batch before adding an event that would make the serialized request payload exceed this many bytes.
Examples: 42, 1.2e-10
mode Mode ✅ If ‘document’ send on end of document generated by input. If ‘fixed’, use fixed_size.
Allowed values: fixed, document
timeout time-interval (string) ✅ interval after which the batch is sent, to keep throughput going (default 100ms).
Default: 100ms
Examples: 500ms, 2h
header multiline-text (string) put a header line before the batch.
footer multiline-text (string) put a header line after the last line of the batch.
use-document-marker ✓ boolean (bool) Enrich the job metadata with a document marker (for document handling in batch mode).
Default: false
wrap-as-json ✓ boolean (bool) Format the output batch as a JSON array.
Default: false
Field Type Required Description
count number (integer) The number of retry attempts. If unspecified, retries will continue indefinitely.
Examples: 42, 1.2e-10
pause duration (string) How long to pause before re-trying.
Accepts human-friendly formats, like 1m (for 1 minute) and 4h (for 4 hours)
Field Type Required Description
accepted-count-pointer json-pointer (string) ✅ JSON Pointer to the non-negative number of accepted request items.
failed-count-pointer json-pointer (string) ✅ JSON Pointer to the non-negative number of rejected request items.
failure-items-pointer json-pointer (string) Optional JSON Pointer to an array of bounded provider failure codes.
max-response-bytes number (integer) ✅ Maximum acknowledgement response body accepted for validation.
Examples: 42, 1.2e-10
expected-count Expected Count How to derive the exact item count from the serialized request body.
Allowed values: one, json-array, ndjson
Header Value
Header-Name value

Value format: templated-text.

Auth - Credential Manager Header - Credential Scope Mode Options

Section titled “Auth - Credential Manager Header - Credential Scope Mode Options”
Value Aliases Name Description
allowed allowed
custom custom

Auth - Credential Manager Header - Material Kind Options

Section titled “Auth - Credential Manager Header - Material Kind Options”
Value Aliases Name Description
bearer-token bearer-token
http-header http-header

Value Aliases Name Description
fixed fixed
document document
Value Aliases Name Description
get get
post post
put put
patch patch
delete delete
options options
head head

Value Aliases Name Description
one one
json-array json-array
ndjson ndjson