Skip to content

HTTP Post

HTTP Post (http-post)

POST event data to an HTTPS server.

Contents

Fields

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’).

Batch Fields

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.

Retry Fields

FieldTypeRequiredDescription
countintegerThe number of retry attempts. If unspecified, retries will continue indefinitely.
pausestringHow long to pause before re-trying.

Method Options

ValueNameDescription
getgetGet
postpostPost
putputPut
patchpatchPatch
deletedeleteDelete
optionsoptionsOptions
headheadHead