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:
Logs | Metrics | Traces |
---|---|---|
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
Name | Key | Description | Default |
---|---|---|---|
Command | command | Required. The bash command to run. | none |
Polling Interval (Seconds) | interval_sec | Required. The number of seconds between polls. | none |
Only Run Once | Oneshot | If true1 , this plugin runs only a single time at startup. Allows collection of data preceding pipelines startup. Accepted values: true , false . | false |
Advanced
Name | Key | Description | Default |
---|---|---|---|
Buffer Size | Buf_Size | The buffer sizes for your bash command. In cases of large output, set this value to a larger size. | 8mb |
Polling Interval (nanoseconds) | Interval_Nsec | The number of nanoseconds to add to the polling interval set in the Required settings. | 0 |