:plugin: wmi :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}"] === Wmi input plugin include::{include_path}/plugin_header.asciidoc[] ==== Description Collect data from WMI query This is useful for collecting performance metrics and other data which is accessible via WMI on a Windows host Example: [source,ruby] input { wmi { query => "select * from Win32_Process" interval => 10 } wmi { query => "select PercentProcessorTime from Win32_PerfFormattedData_PerfOS_Processor where name = '_Total'" } wmi { # Connect to a remote host query => "select * from Win32_Process" host => "MyRemoteHost" user => "mydomain\myuser" password => "Password" } } [id="plugins-{type}s-{plugin}-options"] ==== Wmi Input Configuration Options This plugin supports the following configuration options plus the <> described later. [cols="<,<,<",options="header",] |======================================================================= |Setting |Input type|Required | <> |<>|No | <> |<>|No | <> |<>|No | <> |<>|No | <> |<>|Yes | <> |<>|No |======================================================================= Also see <> for a list of options supported by all input plugins.   [id="plugins-{type}s-{plugin}-host"] ===== `host` * Value type is <> * Default value is `"localhost"` Host to connect to ( Defaults to localhost ) [id="plugins-{type}s-{plugin}-interval"] ===== `interval` * Value type is <> * Default value is `10` Polling interval [id="plugins-{type}s-{plugin}-namespace"] ===== `namespace` * Value type is <> * Default value is `"root\\cimv2"` Namespace when doing remote connections [id="plugins-{type}s-{plugin}-password"] ===== `password` * Value type is <> * There is no default value for this setting. Password when doing remote connections [id="plugins-{type}s-{plugin}-query"] ===== `query` * This is a required setting. * Value type is <> * There is no default value for this setting. WMI query [id="plugins-{type}s-{plugin}-user"] ===== `user` * Value type is <> * There is no default value for this setting. Username when doing remote connections [id="plugins-{type}s-{plugin}-common-options"] include::{include_path}/{type}.asciidoc[]