The PostgreSQL module collects logs generated by PostgreSQL.
Setup & Configuration
The PostgreSQL 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: true
Copy the PostgreSQL example configuration file.
copycd /etc/atatus-infra-agent/conf.d/postgresql.d/ sudo cp postgresql.yml.template postgresql.yml
Update the file
/etc/atatus-infra-agent/conf.d/postgresql.d/postgresql.yml
with below configurations.copy#Log section logs: # - type : (mandatory) type of log input source (log) - type: log
Restart the atatus infrastructure agent.
copysudo service atatus-infra-agent restart