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

Windows

  1. Open the configuration file located at:
    C:\Program Files\watchlog-agent\integration.json
    
  2. Locate the IIS integration object:
    {
      "service": "iis",
      "monitor": false,
      "sites": [
        {
          "name": "site1.example.com",
          "logPath": "C:\\inetpub\\logs\\LogFiles\\W3SVC1"
        }
      ],
      "fieldIndexes": {
        "sc-status": 11,
        "cs-method": 3,
        "cs-uri-stem": 4,
        "time-taken": 14
      }
    }
    
  3. Change "monitor" from false to true:
    - "monitor": false
    + "monitor": true
    
  4. Customize the sites array to include any additional IIS sites you want to monitor. Each entry requires:
    • name: Identifier or hostname for the site.
    • logPath: Full path to the IIS log directory for that site.
  5. Adjust the fieldIndexes mapping if your IIS log format differs:
    • Keys (sc-status, cs-method, etc.) map to log field names.
    • Values are the zero-based index of that field in each log line.
  6. Save the file and restart the Watchlog Agent service in PowerShell:
    Restart-Service -Name "WatchlogAgent"
    
Last Updated:: 8/8/25, 2:02 AM
Contributors: mohammad
Prev
Docker Container
Next
Kubernetes