fluent / fluentd-docs

This repository is deprecated. Go to fluentd-docs-gitbook repository.
49 stars 119 forks source link

in_exec: Add a simple example to fetch load average stats #522

Closed fujimotos closed 6 years ago

fujimotos commented 6 years ago

This patch expands the section "Use Cases" to include a much simpler example that shows how to utilize the in_exec plugin.

Two notable points:

1) One can use pipe notations '|' in the command option. 2) <parse> option can used to handle unstructured data (e.g. space-separated values on /proc/loadavg)