Edge Delta Demo Source
2 minute read
Overview
The Demo Source node generates sample logs of a specified type and at a specified rate. Use this node to quickly configure and test a pipeline using data similar to your use case.
- outgoing_data_types: log
Example Configuration
This configuration will emit a CloudTrail event every 1 second.
nodes:
- name: demo_input
type: demo_input
events_per_sec: 1
log_type: cloudtrail
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: demo_input
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>
events_per_sec
The events_per_second
parameter specifies the number of error logs that will be generated per second. It is specified as an integer and is a required parameter.
nodes:
- name: <node name>
type: demo_input
events_per_sec: 2
log_type:
- <log type>
log_type
The log_type parameter specifies the types of logs the node should emit. It is specified as a map and at least one type is required.
nodes:
- name: <node name>
type: demo_input
events_per_sec: 2
log_type:
- <log type>
- <log type>