Edge Delta HTTP Output Node
2 minute read
Overview
The HTTP output node streams analytics and insights to streaming destinations. It sends raw bytes that are generated via marshaling items as JSON.
Example Configuration
nodes:
- name: my_http_port
type: http_output
endpoint: http://localhost:4545/v0/collect
Required Parameters
name
A descriptive name for the node. This is the name that will appear in Visual Pipelines and you can reference this node in the yaml using the name. It must be unique across all nodes. It is a yaml list element so it begins with a -
and a space followed by the string. It is a required parameter for all nodes.
nodes:
- name: <node name>
type: <node type>
type: http_output
The type
parameter specifies the type of node being configured. It is specified as a string from a closed list of node types. It is a required parameter.
nodes:
- name: <node name>
type: <node type>
endpoint
The endpoint
parameter defines the HTTP stream endpoint. It is specified as a string and is required for HTTP traffic.
nodes:
- name: <node name>
type: http_output
endpoint: <http endpoint>
Optional Parameters
buffer_max_bytesize
The buffer_max_bytesize
parameter configures the maximum byte size for total unsuccessful items. If the limit is reached, the remaining items are discarded until the buffer space becomes available. It is specified as a datasize.Size
, has a default of 0
indicating no size limit, and it is optional.
nodes:
- name: <node name>
type: http_output
endpoint: <http endpoint>
buffer_max_bytesize: 2048
buffer_ttl
The buffer_ttl
parameter configures the time-to-Live for unsuccessful items, which indicates when to discard them. It is specified as a duration, has a default of 10m
, and it is optional.
nodes:
- name: <node name>
type: http_output
endpoint: <http endpoint>
buffer_ttl: 20m
buffer_path
The buffer_path
parameter configures the path to store unsuccessful items. Unsuccessful items are stored there to be retried back (exactly once delivery). It is specified as a string and it is optional.
nodes:
- name: <node name>
type: http_output
endpoint: <http endpoint>
buffer_path: <path to unsuccessful items folder>
features
The features
parameter defines which data types to stream to the destination. It is specified as a string of comma-separated list of item types. The default is metric,edac,cluster
. It is optional.
nodes:
- name: <node name>
type: http_output
endpoint: <http endpoint>
features: <item type>,<item type>