This is the simplest way to connect local producers (e.g. agents, sidecars, or log forwarders) directly to Tangent.
Schema
Path to the Unix domain socket used for ingestion.
Defaults to
Defaults to
/tmp/sidecar.sock.Example
tangent.yaml
Behavior
- Tangent listens on the provided socket path and accepts connections from any local producer process.
- Producers can write NDJSON or JSON payloads to the socket — Tangent decodes them according to the configured
decodingsection. - When the source closes, Tangent flushes any buffered messages before shutdown.
Common Use Cases
| Use Case | Example |
|---|---|
| Local log forwarder | An app writes logs to /tmp/sidecar.sock instead of stdout |
| Sidecar integration | Send structured logs from a container to Tangent |
| Testing and benchmarking | Use the Tangent CLI to bench or run against a local socket source |