Apache HTTP

Supported Platforms

PlatformMetricsLogsTraces
Linux
Windows
macOS

Configuration Table

ParameterTypeDefaultDescription
enable_metricsbooltrueEnable to send metrics.
hostname*stringlocalhostThe hostname or IP address of the Apache HTTP system.
portint3000The TCP port of the Apache HTTP system.
collection_intervalint60How often (seconds) to scrape for metrics.
enable_tlsboolfalseWhether or not to use TLS when connecting to the Apache HTTP server.
strict_tls_verifyboolfalseEnable to require TLS certificate verification.
ca_filestringCertificate authority used to validate TLS certificates. Not required if the collector's operating system already trusts the certificate authority.
mutual_tlsboolfalseEnable to require TLS mutual authentication.
cert_filestringA TLS certificate used for client authentication, if mutual TLS is enabled.
key_filestringA TLS private key used for client authentication, if mutual TLS is enabled.
enable_logsbooltrueEnable to collect Apache HTTP logs.
start_atenumendStart reading logs from 'beginning' or 'end'.
access_log_pathstrings["/var/log/apache2/access.log"]Access Log File paths to tail for logs.
error_log_pathstrings["/var/log/apache2/error.log"]Error Log File paths to tail for logs.
timezonetimezone"UTC"The timezone to use when parsing timestamps.

*required field