Sha256: a3fcb624eb249f4fabc13a8c66c81f960e93c758477e15c5ed963f183eaec062
Contents?: true
Size: 1.91 KB
Versions: 2
Compression:
Stored size: 1.91 KB
Contents
:plugin: exec :type: input /////////////////////////////////////////// START - GENERATED VARIABLES, DO NOT EDIT! /////////////////////////////////////////// :version: %VERSION% :release_date: %RELEASE_DATE% :changelog_url: %CHANGELOG_URL% :include_path: ../../../../logstash/docs/include /////////////////////////////////////////// END - GENERATED VARIABLES, DO NOT EDIT! /////////////////////////////////////////// [id="plugins-{type}s-{plugin}"] === Exec input plugin include::{include_path}/plugin_header.asciidoc[] ==== Description Periodically run a shell command and capture the whole output as an event. Notes: * The `command` field of this event will be the command run. * The `message` field of this event will be the entire stdout of the command. [id="plugins-{type}s-{plugin}-options"] ==== Exec Input Configuration Options This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later. [cols="<,<,<",options="header",] |======================================================================= |Setting |Input type|Required | <<plugins-{type}s-{plugin}-command>> |<<string,string>>|Yes | <<plugins-{type}s-{plugin}-interval>> |<<number,number>>|Yes |======================================================================= Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all input plugins. [id="plugins-{type}s-{plugin}-command"] ===== `command` * This is a required setting. * Value type is <<string,string>> * There is no default value for this setting. Command to run. For example, `uptime` [id="plugins-{type}s-{plugin}-interval"] ===== `interval` * This is a required setting. * Value type is <<number,number>> * There is no default value for this setting. Interval to run the command. Value is in seconds. [id="plugins-{type}s-{plugin}-common-options"] include::{include_path}/{type}.asciidoc[]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
logstash-input-exec-3.1.5 | docs/index.asciidoc |
logstash-input-exec-3.1.4 | docs/index.asciidoc |