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 MongoDB env vars:

      - name: MONITOR_MONGODB
        value: "false"
      - name: MONGODB_HOST
        value: "127.0.0.1"
      - name: MONGODB_PORT
        value: "27017"
      - name: MONGODB_USERNAME
        value: ""
      - name: MONGODB_PASSWORD
        value: ""

Change MONITOR_MONGODB to "true" and update other values if needed:

-       value: "false"
+       value: "true"

Then apply the manifest:

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