## `stdin` operator The `stdin` generates entries from lines written to stdin. ### Configuration Fields | 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](/docs/types/field.md) that will be set to the path of the file the entry was read from | ### Example Configurations #### Mock a file input Configuration: ```yaml - type: stdin ``` Command: ```bash echo "test" | stanza -c ./config.yaml ``` Output records: ```json { "timestamp": "2020-11-10T11:09:56.505467-05:00", "severity": 0, "record": "test" } ```