Skip to content

HTTP Post

POST event data to an HTTPS server.

FieldTypeRequiredDescription
batchBatchCollect Input Events together into batches.
urlurl (string)The URL may contain ${} field expansions.
body-fieldevent-field (string)This field will contain the body of the request.
headersstringHTTP headers of the request.
retryRetryHow to retry failed requests.
insecureboolean (bool)Ignore TLS certificate validation errors (This is unsafe to use).
methodMethodHTTP method to use for the query (either ‘get’ or ‘post’).
FieldTypeRequiredDescription
fixed-sizeintegermaximum number of events in an output batch.
modesymbolIf ‘document’ send on end of document generated by input. If ‘fixed’, use fixed_size.
timeoutstringinterval after which the batch is sent, to keep throughput going (default 100ms).
headerstringput a header line before the batch.
footerstringput a header line after the last line of the batch.
use-document-markerboolEnrich the job metadata with a document marker (for document handling in batch mode).
wrap-as-jsonboolFormat the output batch as a JSON array.
FieldTypeRequiredDescription
countintegerHow to retry? Either forever or for a limited number of times.
pausestringHow long to pause before re-trying.
ValueNameDescription
getgetGet
postpostPost
putputPut
patchpatchPatch
deletedeleteDelete
optionsoptionsOptions
headheadHead