Skip to main content
The Bash Command source plugin (name: exec) lets you run bash commands once at pipeline startup, or at repeated intervals. Although this is a self-contained plugin that doesn’t communicate with external sources, it’s still classified as a pull-based source plugin.

Supported telemetry types

The for Chronosphere Telemetry Pipeline supports these telemetry types:
LogsMetricsTraces

Configuration parameters

Use the parameters in this section to configure the . The Telemetry Pipeline web interface uses the items in the Name column to describe these parameters. Pipeline configuration files use the items in the Key column as YAML keys.

Required

NameKeyDescriptionDefault
CommandcommandRequired. The bash command to run.none
Polling Interval (Seconds)interval_secRequired. The number of seconds between polls.none
Only Run OnceOneshotAllows collection of data preceding pipelines startup. If true, this plugin runs only a single time at startup. Accepted values: true, false.false

Advanced

NameKeyDescriptionDefault
Buffer SizeBuf_SizeThe buffer sizes for your bash command. In cases of large output, set this value to a larger size.8mb
Polling Interval (nanoseconds)Interval_NsecThe number of nanoseconds to add to the polling interval set in the Required settings.0
Memory Buffer Limitmem_buf_limitFor pipelines with the Deployment or DaemonSet workload type only. Sets a limit for how much buffered data the plugin can write to memory, which affects backpressure. This value must follow Fluent Bit’s rules for unit sizes. If unspecified, no limit is enforced.none