OpenTelemetry Deep Dive: Hands-On with the OTel Collector & Bindplane - Join the live workshop on March 19th at 11 AM ET!Sign Up Now

Microsoft IIS

Supported Platforms

PlatformMetricsLogsTraces
Windows

Prerequisites

This source supports IIS versions 8.5 and 10.0.

Configuration Table

ParameterTypeDefaultDescription
telemetry_typestelemetrySelector["Logs", "Metrics"]Choose Telemetry Type.
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 the file from the 'beginning' or 'end'.
collection_intervalint60Sets how often (seconds) to scrape for metrics.

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.