Microsoft IIS

Supported Platforms

PlatformMetricsLogsTraces
Windows

Prerequisites

This source supports IIS versions 8.5 and 10.0.

Configuration Table

ParameterTypeDefaultDescription
enable_metricsbooltrueEnable to send metrics.
collection_intervalint60How often (seconds) to scrape for metrics.
enable_logsbooltrueEnable to send logs.
file_pathstrings["C:/inetpub/logs/LogFiles/W3SVC_/**/_.log"]File or directory paths to tail for logs.
exclude_file_log_pathstringsFile or directory paths to exclude.
timezoneenumUTCRFC3164 only. The timezone to use when parsing timestamps.
start_atenumendStart reading file from 'beginning' or 'end'.

Metrics

MetricUnitDescription
iis.connection.active{connections}Number of active connections.
iis.connection.anonymous{connections}Number of connections established anonymously.
iis.connection.attempt.count{attempts}Total number of attempts to connect to the server.
iis.network.blockedByNumber of bytes blocked due to bandwidth throttling.
iis.network.file.count{files}Number of transmitted files.
iis.network.ioByTotal amount of bytes sent and received.
iis.request.count{requests}Total number of requests of a given type.
iis.request.queue.age.maxmsAge of oldest request in the queue.
iis.request.queue.count{requests}Current number of requests in the queue.
iis.request.rejected{requests}Total number of requests rejected.
iis.thread.active{threads}Current number of active threads.
iis.uptimesThe amount of time the server has been up.