Supported Platforms

PlatformMetricsLogsTraces
Linux
Windows
macOS

Prerequisites

This source supports Redis version 6.2.

Configuration Table

ParameterTypeDefaultDescription
enable_metricsbooltrueEnable to collect metrics.
endpointstring"localhost:6379"The endpoint of the Redis server.
transportenumtcpThe transport protocol being used to connect to Redis. Valid values are tcp or unix.
passwordstringThe password used to access the Redis instance; must match the password specified in the requirepass server configuration option.
collection_intervalint60How 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.
enable_logsbooltrueEnable to collect logs.
file_pathstringsOne-click installer: - \"/var/log/redis/redis_6379.log\" \nUbuntu / Debian: - \"/var/log/redis/redis-server.log\" \nsrc: - \"/var/log/redis_6379.log\" \nCentOS / RHEL: - \"/var/log/redis/redis.log\" \nSLES: - \"/var/log/redis/default.log\"Path to Redis log file(s).
start_atenumendStart reading file from 'beginning' or 'end'.