Windows Service Metrics

Collect and ship Windows services & performance counter metrics to Logstash and Elasticsearch

Metricbeat is a lightweight shipper that helps you monitor your Windows server by collecting metrics from services and performance counters running on the Windows server. Configure Metricbeat using the pre-defined examples below to collect and ship metrics about Windows services to Logstash or Elasticsearch.

Install Integration

Please click on the Install Integration button to configure your stack for this source.

Install Metricbeat

To get started first follow the steps below:

Older versions can be found here: metricbeat 7 (opens in a new tab), metricbeat 6 (opens in a new tab), metricbeat 5 (opens in a new tab)

Copy Configuration File

The configuration file below is pre-configured to send data to your Logit.io Stack via Logstash.

Copy the configuration file below and overwrite the contents of metricbeat.yml.

###################### Logit.io Metricbeat Configuration #######################
# =========================== Modules configuration ============================
 
metricbeat.config.modules:
  # Glob pattern for configuration loading
  path: ${path.config}/modules.d/*.yml
 
  # Set to true to enable config reloading
  reload.enabled: false
 
  # Period on which files under path should be checked for changes
  #reload.period: 10s
# ======================= Elasticsearch template setting =======================
setup.template.settings:
  index.number_of_shards: 1
  index.codec: best_compression
  #_source.enabled: false
 
# ================================== Outputs ===================================
# ------------------------------ Logstash Output -------------------------------
⚠️

No input available! Your stack is missing the required input for this data source

Talk to support to add the input

Enable module

There are several built in metricbeat modules you can use. To enable the uWSGI module, run the following:

PS > .\metricbeat.exe modules enable uWSGI

Configure module

Each module has its own configuration file where different metricsets can be enabled / disabled. Locate the configuration file for the system module.

<EXTRACTED_ARCHIVE>/modules.d/system.yml

By default the following metrics are enabled. To enable or disable a metric simply comment or uncomment the line out.

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

The perfmon metricset of the Windows module reads Windows performance counters. The service metricset of the Windows module reads the status of Windows services.

Start Metricbeat

Start or restart Metricbeat (opens in a new tab) to apply the configuration changes.

Check Logit.io for your logs

Data should now have been sent to your Stack.

View My Data

If you don't see take a look at How to diagnose no data in Stack below for how to diagnose common issues.

How to diagnose no data in Stack

If you don't see data appearing in your Stack after following the steps, visit the Help Centre guide for steps to diagnose no data appearing in your Stack or Chat to support now.

System module dashboard

The Windows module comes with predefined Kibana dashboards. To view your dashboards for any of your Logit.io stacks, launch Logs and choose Dashboards.

Predefined Kibana dashboard

uWSGI Metricbeat Module Overview

Windows operating systems, being among the most widely used platforms in both enterprise and personal computing environments, offer a rich set of metrics crucial for system health and performance monitoring. The Metricbeat Module for Windows Systems taps into these metrics, covering aspects such as CPU usage, memory consumption, disk I/O, network statistics, and more, providing a holistic view of the system's status.

This module stands out for system administrators and IT professionals managing Windows environments for its ease of configuration and its seamless integration with the ELK Stack (opens in a new tab). This powerful combination enables real-time visibility into Windows metrics, facilitating advanced analysis, visualization, and alerting capabilities that go beyond the scope of traditional monitoring tools.

In comparison to other monitoring solutions that may utilize proprietary formats or offer limited flexibility, the Metricbeat Module for System Windows is specifically designed to simplify analysis, troubleshooting, and operational oversight within Windows environments.

Our platform extends support for the Metricbeat Module for Windows Systems, offering centralized metrics management tailored for effortless analysis and proactive system monitoring. This eliminates the challenges associated with manually aggregating and interpreting metrics across distributed Windows systems.

If you require guidance on setting up the Metricbeat Module for Windows Systems or have any questions regarding monitoring strategies for your Windows environments, the Logit.io team is here to assist. We invite you to visit our Help Centre or contact our support team through live chat & we'll be happy to assist.