# Module: windows
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/8.19/metricbeat-module-windows.html

- module: windows
  metricsets:
    - service
  period: 1m

#- module: windows
#  metricsets:
#  - perfmon
#  period: 10s
#  perfmon.queries:
#   - object: 'Process'
#     instance: ["*"]
#     counters:
#     - name: '% Processor Time'
#       field: cpu_usage
#       format: "float"
#     - name: "Thread Count"

#  - module: windows
#   metricsets:
#   - wmi
#   period: 10m
#   wmi:
#     warning_threshold: 10m
#     # namespace: "root\\cimv2"
#     queries:
#     - class: Win32_OperatingSystem  # FROM: Class to fetch
#       properties:                   # SELECT: Properties to retrieve for this WMI class. Omit the setting to fetch all properties
#        - FreePhysicalMemory
#        - FreeSpaceInPagingFiles
#        - FreeVirtualMemory
#        - LocalDateTime
#        - NumberOfUsers
#       where: ""                     # Optional WHERE clause to filter query results
#       # Namespace for this specific query. Uncomment to override the default namespace.
#       # namespace: "root\\cimv2"
