Type to search.

IIS webserver metricset

Serverless

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Serverless interfaces and procedures might differ from classic Elastic Stack deployments.

Stack

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

This is the webserver metricset of the module iis.

This metricset allows users to retrieve relevant metrics from IIS.

Metric values are divided in several groups:

The process object contains System/Process counters like the overall server and CPU usage for the IIS Worker Processes and memory (currently used and available memory for the IIS Worker Processes).

The network object contains the IIS Performance counters like: Web Service: Bytes Received/Sec (helpful to track to identify potential spikes in traffic), Web Service: Bytes Sent/Sec (helpful to track to identify potential spikes in traffic), Web Service: Current Connections (through experience with their apps app, users can identify what is a normal value for this) and others.

The cache object contains metrics from the user mode cache and output cache.

The asp_net and asp_net_application contain asp.net related performance counter values.

metricbeat iis webserver overview

metricbeat iis webserver process

This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

JSON
{
    "@timestamp": "2026-01-31T00:26:01.417Z",
    "event": {
        "dataset": "iis.webserver",
        "module": "iis",
        "duration": 1008973300
    },
    "iis": {
        "webserver": {
            "process": {
                "virtual_bytes": 2203429777408,
                "page_faults_per_sec": 0,
                "io_write_operations_per_sec": 0.9948381826057318,
                "working_set": 19296256,
                "cpu_usage_perc": 1.5542392185533886,
                "private_bytes": 6021120,
                "handle_count": 239,
                "thread_count": 22,
                "io_read_operations_per_sec": 0.9948381826057318
            },
            "host": {
                "cpu": {
                    "count": 16
                }
            },
            "network": {
                "total_connection_attempts": 6,
                "anonymous_users_per_sec": 196.9779601559349,
                "current_connections": 1,
                "total_bytes_sent": 342999814,
                "bytes_received_per_sec": 25607.134820271538,
                "current_anonymous_users": 0,
                "total_post_requests": 0,
                "delete_requests_per_sec": 0,
                "total_non_anonymous_users": 0,
                "post_requests_per_sec": 0,
                "total_bytes_received": 48402066,
                "current_non_anonymous_users": 0,
                "get_requests_per_sec": 196.9779601559349,
                "maximum_connections": 1,
                "total_anonymous_users": 372311,
                "bytes_sent_per_sec": 181416.70130361605,
                "total_delete_requests": 0,
                "service_uptime": 82841,
                "total_get_requests": 372311
            },
            "cache": {
                "output_cache_current_items": 0,
                "output_cache_total_hits": 0,
                "total_files_cached": 9,
                "uri_cache_misses": 24,
                "maximum_file_cache_memory_usage": 696,
                "current_file_cache_memory_usage": 696,
                "current_files_cached": 2,
                "uri_cache_hits": 744596,
                "file_cache_misses": 1489252,
                "current_uris_cached": 2,
                "output_cache_current_memory_usage": 0,
                "output_cache_total_misses": 744620,
                "file_cache_hits": 744615,
                "total_uris_cached": 10
            }
        }
    },
    "metricset": {
        "period": 10000,
        "name": "webserver"
    },
    "service": {
        "type": "iis"
    }
}