The stdin generates entries from lines written to stdin.
| Field | Default | Description |
|---|---|---|
id |
generate_input |
A unique identifier for the operator |
output |
Next in pipeline | The connected operator(s) that will receive all outbound entries |
write_to |
$ | A field that will be set to the path of the file the entry was read from |
Configuration:
- type: stdinCommand:
echo "test" | stanza -c ./config.yamlOutput records:
{
"timestamp": "2020-11-10T11:09:56.505467-05:00",
"severity": 0,
"record": "test"
}