Skip to main content
Upcoming Webinar:

Getting Started with OpenObserve.

December 03, 2026.
11:00 AM ET.
Register

Complete Windows Monitoring with OpenObserve: Event Logs, Metrics and More

Manas Sharma
Manas Sharma.
April 08, 2025.
8 min read.
Don't forget to share!
TwitterLinkedInFacebook

Ready to get started?

Try OpenObserve Cloud today for more efficient and performant observability.

Complete Windows Monitoring with OpenObserve: Event Logs, Metrics and More

Windows servers and workstations run many company networks. But they can be hard to monitor well. Windows produces a lot of data, from key system events to performance metrics. When you collect and study that data, it shows you system health, security risks, and slow spots.

In this complete guide, we'll show how to set up full Windows monitoring with OpenObserve. We'll cover two approaches. The OpenObserve agent is fast to deploy. The OpenTelemetry Collector is more flexible for advanced setups. This guide will help you see your whole Windows environment. It works whether you're fixing system issues, tracking security events, or watching performance metrics.

Understanding Windows Monitoring Data

Windows systems produce several types of monitoring data. You need them to keep systems healthy and secure.

Windows Event Logs

Windows Event Logs are sorted into channels. The most common ones are:.

  • Application: Records events from apps and programs.
  • Security: Holds security events, like login attempts and policy changes.
  • System: Tracks system events, such as driver failures and hardware changes.
  • Setup: Records events from app setup.
  • Forwarded Events: Holds events collected from remote computers.

Each event in these logs has a few key parts:.

  • Timestamp: When the event happened.
  • Event ID: A unique ID for the type of event.
  • Level: How severe the event is (Information, Warning, Error, Critical).
  • Source: The app, service, or part that created the event.
  • Description: A detailed message about what happened.

Windows Event Logs help IT teams in many ways. They reveal problems before users feel them. They track unauthorized access attempts. They keep audit trails for compliance. They give detailed data for troubleshooting. They also track resource use for performance analysis.

Here's a sample Windows Event Log record as captured by OpenTelemetry:.

{
  "_timestamp": 1743779634244849,
  "body_channel": "Application",
  "body_computer": "DESKTOP-EB5G184",
  "body_event_data_data": "[{\"\":\"Service stopped\"}]",
  "body_event_id_id": "0",
  "body_event_id_qualifiers": "0",
  "body_execution_process_id": "4656",
  "body_execution_thread_id": "0",
  "body_keywords": "[\"0x80000000000000\"]",
  "body_level": "4",
  "body_message": "",
  "body_opcode": "0",
  "body_provider_event_source": "",
  "body_provider_guid": "",
  "body_provider_name": "brave",
  "body_record_id": "30058",
  "body_system_time": "2025-04-04T15:13:54.2448490Z",
  "body_task": "0",
  "dropped_attributes_count": 0,
  "host_name": "DESKTOP-EB5G184",
  "os_type": "windows",
  "severity": "INFO"
}

Windows Performance Metrics

Windows also gives detailed performance metrics through Windows Performance Counters. These metrics track:.

  • CPU Usage: Processor time, queue length, and interrupts.
  • Memory: Free memory, page faults, and cache use.
  • Disk I/O: Read and write operations, queue length, and latency.
  • Network: Bytes sent and received, connection rates, and errors.
  • Process-specific metrics: Resource use by each process.

These metrics help you spot slow spots, capacity issues, and resource limits before users feel them.

Setting Up Windows Monitoring with OpenObserve

OpenObserve offers two ways to monitor Windows:.

  1. OpenObserve Agent: An all-in-one tool for fast setup.
  2. OpenTelemetry Collector: A flexible option for advanced setups.

Let's look at both, starting with the simplest one, which we recommend.

Option 1: Using the OpenObserve Agent (Recommended)

The OpenObserve agent installs with one command. It then collects both Windows Event Logs and Performance Metrics on its own.

Prerequisites

Before we begin, make sure you have:.

  1. A Windows machine (Windows 10/11 or Windows Server).
  2. Administrator access to install and set up services.
  3. Access to an OpenObserve instance (cloud or self-hosted).

Installation

To install the OpenObserve agent:.

  1. Log in to your OpenObserve instance.
  2. Go to Data Sources → Recommended → Windows.

Screenshot 2025-04-07 at 11.16.06 AM.png

  1. Copy the PowerShell command shown.
  2. Open PowerShell as Administrator and run the command:.
Invoke-WebRequest -Uri https://raw.githubusercontent.com/openobserve/agents/main/windows/install.ps1 -OutFile install.ps1 ; .\install.ps1 -URL https://your-openobserve-instance.com/api/default/ -AUTH_KEY YOUR_API_KEY

That's it! The agent will automatically:.

  • Install as a Windows service that starts on its own.
  • Collect logs from Windows Event Log (Application, System, Security).
  • Collect metrics from Windows Performance Counters.
  • Send all data to your OpenObserve instance.

What's Being Collected

The OpenObserve agent collects:.

Event Logs:.

  • Application logs.
  • System logs.
  • Security logs.

Performance Metrics:.

  • CPU use (total and per core).
  • Memory use and free memory.
  • Disk I/O and disk space use.
  • Network traffic and errors.
  • Process-level metrics.

Option 2: Using the OpenTelemetry Collector

You may need a more advanced setup. Or you may already use OpenTelemetry. In those cases, use the OpenTelemetry Collector with the Windows Event Log Receiver.

Step 1: Setting Up the OpenTelemetry Collector

First, let's set up the collector:.

# Create a directory for the collector
New-Item -Path "C:\otel-collector" -ItemType Directory -Force
cd C:\otel-collector

# Download the latest collector contrib distribution
Invoke-WebRequest -Uri "https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v0.115.0/otelcol-contrib_0.115.0_windows_amd64.tar.gz" -OutFile "otelcol-contrib.tar.gz"

# Extract the archive
tar -xzf otelcol-contrib.tar.gz

Step 2: Configure the OpenTelemetry Collector

Create a file named config.yaml in the C:\otel-collector folder. Add this content:.

receivers:
  windowseventlog/application:
    channel: application
  windowseventlog/system:
    channel: system
  windowseventlog/security:
    channel: security
  windowsperfcounters:
    collection_interval: 30s
    perfcounters:
      - object: "Processor"
        counters:
          - "% Processor Time"
        instances: ["*"]
      - object: "Memory"
        counters:
          - "Available Bytes"
          - "Committed Bytes"
        instances: [""]
      - object: "LogicalDisk"
        counters:
          - "% Free Space"
          - "Avg. Disk Queue Length"
        instances: ["*"]
      - object: "Network Interface"
        counters:
          - "Bytes Received/sec"
          - "Bytes Sent/sec"
        instances: ["*"]

processors:
  batch:
    send_batch_size: 1024
    timeout: 10s
  resourcedetection:
    detectors: [system]
    system:
      hostname_sources: ["os"]

exporters:
  otlphttp/openobserve:
    endpoint: "https://your-openobserve-instance.com/api/default"
    headers:
      Authorization: "Basic YOUR_API_KEY"
      stream-name: "windows-events"
  debug:
    verbosity: detailed

service:
  pipelines:
    logs:
      receivers:
        [
          windowseventlog/application,
          windowseventlog/system,
          windowseventlog/security,
        ]
      processors: [resourcedetection, batch]
      exporters: [otlphttp/openobserve, debug]
    metrics:
      receivers: [windowsperfcounters]
      processors: [resourcedetection, batch]
      exporters: [otlphttp/openobserve, debug]
  telemetry:
    logs:
      level: "info"

Replace https://your-openobserve-instance.com/api/default with your OpenObserve endpoint. Replace YOUR_API_KEY with your real API key.

Step 3: Run the OpenTelemetry Collector

Run the collector with this command:.

.\otelcol-contrib.exe --config "C:\otel-collector\config.yaml"

To run the collector as a Windows service, use the New-Service PowerShell cmdlet or the SC command-line tool.

Advanced Configuration Options

Here are some useful settings to improve your Windows monitoring.

Filtering Security Events

Security logs can get very large. Use XPath queries to focus on key events:.

windowseventlog/security:
  channel: security
  xpath_query: "*[System[(EventID=4624 or EventID=4625 or EventID=4634 or EventID=4648 or EventID=4672)]]"

This setting captures only a few event types. These are login successes (4624), login failures (4625), and logouts (4634). It also captures explicit credential uses (4648) and special privilege assignments (4672).

Remote Collection for Multiple Servers

To monitor many servers from one place:.

receivers:
  # Local server logs
  windowseventlog/local_system:
    channel: system

  # Remote server logs
  windowseventlog/server1_system:
    channel: system
    remote:
      server: "server1.example.com"
      username: "${env:DOMAIN_USER}"
      password: "${env:DOMAIN_PASSWORD}"
      domain: "EXAMPLE"

Visualizing Windows Monitoring Data in OpenObserve

Once your data flows into OpenObserve, you can view and study it in the easy-to-use interface.

Exploring Windows Event Logs

Go to the Logs page in OpenObserve to view your Windows Event Logs:.

Screenshot 2025-04-07 at 11.07.05 AM.png Screenshot 2025-04-07 at 11.07.17 AM.png

You can filter logs by severity, channel, or any other field. This helps you focus on specific events.

Analyzing Performance Metrics

The Metrics page lets you chart and study Windows system metrics:.

Screenshot 2025-04-07 at 11.05.59 AM.png Screenshot 2025-04-07 at 11.05.22 AM.png

You can build custom charts to track CPU use, memory use, disk I/O, and network activity over time.

Pre-built Dashboard

OpenObserve offers a pre-built dashboard for Windows monitoring that you can import directly:.

Screen Recording 2025-04-07 at 11.02.49 AM.gif

Troubleshooting Tips

If your Windows monitoring setup has issues, try these steps:.

  1. Verify Agent Installation: Check that the OpenObserve agent service is running with Get-Service -Name "OpenObserveAgent".

  2. Check Permissions: The service account needs admin rights to read Windows Event Logs and Performance Counters.

  3. Test Connectivity: Make sure your server can reach your OpenObserve instance with Test-NetConnection -ComputerName your-openobserve-instance.com -Port 443.

  4. Review Event Log Access: For security logs, make sure the service account has the "Manage auditing and security log" right.

Conclusion

Good Windows monitoring keeps your systems reliable, secure, and fast. OpenObserve gives you two simple options for full Windows monitoring. The OpenObserve agent installs with one command for fast setup. The OpenTelemetry Collector is highly flexible for advanced cases.

When you bring your Windows monitoring into OpenObserve, you can link events across systems. You can track performance trends and find the root cause of issues fast. Event logs and performance metrics together give a complete picture of your Windows environment. This lets you act early instead of reacting to problems.

You might run one Windows server or a large fleet of machines. Either way, this approach grows with your needs. It gives you the deep visibility you need for troubleshooting, security monitoring, and performance tuning.

To learn more, check out the OpenObserve documentation and start improving your Windows monitoring today.

Happy monitoring! 🚀.

About the Author

Manas Sharma

Manas Sharma

TwitterLinkedIn

Manas is a passionate Dev and Cloud Advocate with a strong focus on cloud-native technologies, including observability, cloud, kubernetes, and opensource. building bridges between tech and community.

Follow OpenObserve on Google

Add OpenObserve as a preferred source to see more of our articles in Google Search and Top Stories.

Latest From Our Blogs

View all posts