Watchlog DocsWatchlog Docs
Home
Get Started
Integrations
Log Watchlist
Home
Get Started
Integrations
Log Watchlist
  • All Integrations
  • NGINX

    • Nginx Integration
    • Ubuntu
    • Docker
    • Windows
    • Kubernetes
    • Source Code
  • IIS

    • IIS Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • REDIS

    • Redis Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • POSTGRESQL

    • PostgreSQL Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • MONGODB

    • MongoDB Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • MYSQL

    • MySQL Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • PM2

    • PM2 Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code
  • DOCKER

    • Docker Integration
    • Ubuntu
    • Docker Container
    • Windows
    • Kubernetes
    • Source Code

Kubernetes

In your watchlog-node-agent.yaml, locate the PostgreSQL env vars:

      - name: MONITOR_POSTGRESQL
        value: "false"
      - name: POSTGRESQL_HOST
        value: "127.0.0.1"
      - name: POSTGRESQL_PORT
        value: "5432"
      - name: POSTGRESQL_USERNAME
        value: ""
      - name: POSTGRESQL_PASSWORD
        value: ""
      - name: POSTGRESQL_DATABASES
        value: ""

Update as follows:

-       value: "false"
+       value: "true"
-      - name: POSTGRESQL_DATABASES
-        value: ""
+      - name: POSTGRESQL_DATABASES
+        value: "db1,db2"

Then apply:

kubectl apply -f watchlog-node-agent.yaml
Last Updated:: 8/8/25, 2:02 AM
Contributors: mohammad
Prev
Windows
Next
Source Code