Fields
entry_point (required)
Path to your WASM plugin entrypoint (e.g., wrapper.go, main.py, . for module root). This is used by compile-wasm command.
tangent.yaml
module_type (required)
The language used by your WASM plugin. This is used by compile-wasm command.
Options: go, py
tangent.yaml
batch_size (optional)
Tangent buffers logs in memory before flushing to your WASM plugin. Logs are flushed when either batch_size or batch_age is reached.
batch_size configures the maximum size of logs to buffer before flushing, in KB (default: 256).
tangent.yaml
batch_age (optional)
Tangent buffers logs in memory before flushing to your WASM plugin. Logs are flushed when either batch_size or batch_age is reached.
batch_age configures the maximum time logs will be buffered before flushing, in milliseconds (default: 5)
tangent.yaml
workers (optional)
Number of workers threads to spawn (default: number of CPUs)
tangent.yaml
sources (required)
Configure log sources. See Sources
Pulling from multiple sources is not yet supported.
Example:
tangent.yaml
sinks (required)
Configure log sinks. See Sources
Sinking into multiple sinks is not yet supported.
Example:
tangent.yaml
Full Example:
tangent.yaml