The Redis module collects logs generated by Redis.
Setup & Configuration
The Redis module is included with the Atatus Infra agent by default, please follow the below steps to enable.
Add the following lines in the file
/etc/atatus-infra-agent/atatus.yml.copylogs_enabled: trueCopy the Redis example configuration file.
copycd /etc/atatus-infra-agent/conf.d/redis.d/ sudo cp redis.yml.template redis.ymlUpdate the file
/etc/atatus-infra-agent/conf.d/redis.d/redis.ymlwith below configurations.copy# Log section logs: # - type : (mandatory) type of log input source (log) - type: log - type: slowlogcopy# If you have custom redis log path, you can use below syntax # - type: (mandatory) type of log input source (log / slowlog) # paths: (mandatory) Set paths if type is file # service: (mandatory) name of the service owning the log # source: (mandatory) attribute that defines which integration is sending the log # Log section logs: - type: log paths: - /var/log/redis/redis-server.log* source: redis service: redis - type: slowlog paths: - /var/log/redis_6379.log source: redis service: redisRestart the atatus infrastructure agent.
copysudo service atatus-infra-agent restart
+1-415-800-4104