Free Report! Gartner® Hype Cycle™ for Monitoring and Observability.Read more

Nginx

Supported Platforms

PlatformMetricsLogsTraces
Linux
Windows
macOS

Prerequisites

This source supports nginx versions 1.18 and 1.20.

Configuration Table

ParameterTypeDefaultDescription
telemetry_typestelemetrySelector["Logs", "Metrics"]Choose Telemetry Type.
data_flowenumhighEnable high flow or reduced low flow.
log_formatenumdefault
access_log_pathsstrings - "/var/log/nginx/access.log*"Path to NGINX access log file(s).
error_log_pathsstrings - "/var/log/nginx/error.log*"Path to NGINX error log file(s).
start_atenumendStart reading the file from the 'beginning' or 'end'.
endpoint*string"http://localhost:80/status"The endpoint of the NGINX server.
collection_intervalint60Sets how often (seconds) to scrape for metrics.
enable_tlsboolfalseWhether or not to use TLS.
insecure_skip_verifyboolfalseEnable to skip TLS certificate verification.
ca_filestringCertificate authority used to validate the database server's TLS certificate.
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.
*required field