TELEMETRY PIPELINE
Bash Command

Bash Command source plugin

The Bash Command source plugin lets you run bash commands once at pipeline startup, or at repeated intervals.

Supported telemetry types

This plugin supports these telemetry types:

LogsMetricsTraces

Configuration parameters

Use the parameters in this section to configure your plugin. The Telemetry Pipeline web interface uses the values in the Name column to describe the parameters. Items in the Key column are the YAML keys to use in pipeline configuration files.

Required

NameKeyDescriptionDefault
CommandcommandRequired. The bash command to run.none
Polling Interval (Seconds)interval_secRequired. The number of seconds between polls.none
Only Run OnceOneshotIf true1, this plugin runs only a single time at startup. Allows collection of data preceding pipelines 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