# Input plugin to query Windows Management Instrumentation # This plugin ONLY supports Windows [[inputs.win_wmi]] [[inputs.win_wmi.query]] # a string representing the WMI namespace to be queried namespace = "root\\cimv2" # a string representing the WMI class to be queried class_name = "Win32_Volume" # an array of strings representing the properties of the WMI class to be queried properties = ["Name", "Capacity", "FreeSpace"] # a string specifying a WHERE clause to use as a filter for the WQL filter = 'NOT Name LIKE "\\\\?\\%"' # WMI class properties which should be considered tags instead of fields tag_properties = ["Name"]