HTTP Get
HTTP Get (http-get)
Send event data to a remote server using GET.
Http json
Minimal example
output: http-get: url: ""JSON
{ "output": { "http-get": { "url": "" } }}Contents
Payload
Payload
| Field | Type | Required | Description |
|---|---|---|---|
body | Body | How to construct the request body (event, field, or literal). Allowed values: event, field, literal |
Processing
Processing
| Field | Type | Required | Description |
|---|---|---|---|
batch | Batch | Collect input events together into batches. |
Reliability
Reliability
| Field | Type | Required | Description |
|---|---|---|---|
retry | Retry | How to retry failed requests. |
Request
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 |
Security
Security
| Field | Type | Required | Description |
|---|---|---|---|
insecure ✓ | boolean (bool) | Ignore TLS certificate validation errors (This is unsafe to use). Default: false |
Schema
- Body Options
- Body - Field Fields
- Body - Literal Fields
- Batch Fields
- Retry Fields
- Headers Table
- Batch - Mode Options
Body Options
| Option | Name | Type | Description |
|---|---|---|---|
event | Event | map | |
field | Field | object | |
literal | Literal | object |
Body - Field Fields
| Field | Type | Required | Description |
|---|---|---|---|
field | string | ✅ |
Body - Literal Fields
| Field | Type | Required | Description |
|---|---|---|---|
value | string | ✅ | Literal/template request body; supports ${} expansions and multiline YAML strings. |
Batch Fields
| Field | Type | Required | Description |
|---|---|---|---|
fixed-size ✓ | number (integer) | maximum number of events in an output batch. 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: 100msExamples: 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 |
Retry Fields
| Field | Type | Required | Description |
|---|---|---|---|
timeout | time-interval (string) | ✅ | timeout (e.g. 500ms, 2s etc. - default is 30). Examples: 500ms, 2h |
retries | number (integer) | number of retries. Examples: 42, 1.2e-10 |
Headers Table
| Header | Value |
|---|---|
Header-Name | value |
Value format: templated-text.
Batch - Mode Options
| Value | Name | Description |
|---|---|---|
fixed | fixed | Fixed |
document | document | Document |