How To Collect Logs In MetaDefender Distributed Cluster Deployments

1. MetaDefender Core

Windows

The installation directory of MetaDefender Core when deployed by MetaDefender Distributed Cluster, located in the installation directory of MDDC Worker.

C:\Program Files\OPSWAT\MetaDefender Distributed Cluster Worker\data\services\MetaDefender Core

Linux

  • The support package is created within the output file after running the command to collect the MDDC Worker support package.

2. MetaDefender Distributed Cluster API Gateway

Windows

  • Run command prompt as administrator privilege.
  • Change directory (cd ) to MDDC API Gateway installation directory.
  • Run following file script to generate MDDC API Gateway support package:
Copy
  • Find and collect MDDC API Gateway generated support package (mddc-api-gateway-<api-gateway_version>-support-<timestamp>.zip ) in the MDDC API Gateway installation folder

The installation directory of MDDC API Gateway if deployed by MetaDefender Distributed Cluster, located in the installation directory of MDDC Worker:

C:\Program Files\OPSWAT\MetaDefender Distributed Cluster Worker\data\services\MetaDefender Distributed Cluster API Gateway

Linux

  • The support package is created within the output file after running the command to collect the MDDC Worker support package.

3. MetaDefender Distributed Cluster File Storage

Windows

  • Run command prompt as administrator privilege.
  • Change directory (cd ) to MDDC File Storage installation folder (e.g. C:\Program Files\OPSWAT\MetaDefender Distributed Cluster File Storage )
  • Run following file script to generate MDDC File Storage support package:
Copy
  • Find and collect MDDC File Storage generated support package (mddc-file-storage-<file-storage_version>-support-<timestamp>.zip ) in the Hub installation folder.

Linux

  • Run terminal as root privilege (sudo ).
  • Run following file script to generate MDDC File Storage support package:
Copy
  • Find and collect MDDC File Storage generated support package (mddc-file-storage-<file-storage_version>-support-<timestamp>.zip ) in the current folder.

4. MetaDefender Distributed Cluster Identity Service

Windows

  • Run command prompt as administrator privilege.
  • Change directory (cd ) to MDDC Identity Service installation folder (e.g. C:\Program Files\OPSWAT\MetaDefender Distributed Cluster Identity Service )
  • Run following file script to generate MDDC Identity Service support package:
Copy
  • Find and collect MDDC Identity Service generated support package (mddc-identity-service-<identity-service_version>-support-<timestamp>.zip ) in the Hub installation folder.

Linux

  • Run terminal as root privilege (sudo ).
  • Run following file script to generate MDDC Identity Service support package:
Copy
  • Find and collect MDDC Identity Service generated support package (mddc-identity-service-<identity-service_version>-support-<timestamp>.zip ) in the current folder.

5. MetaDefender Distributed Cluster Control Center

Windows

  • Run command prompt as administrator privilege.
  • Change directory (cd ) to MDDC Control Center installation folder (e.g. C:\Program Files\OPSWAT\MetaDefender Distributed Cluster Control Center )
  • Run following file script to generate MDDC Control Center support package:
Copy
  • Find and collect MDDC Control Center generated support package (mddc-control-center-<control-center_version>-support-<timestamp>.zip ) in the MDDC Control Center installation folder.

Linux

  • Run terminal as root privilege (sudo ).
  • Run following file script to generate MDDC Control Center support package:
Copy
  • Find and collect MDDC Control Center generated support package (mddc-control-center-<control-center_version>-support-<timestamp>.zip ) in the current folder.

6. MetaDefender Distributed Cluster Worker

Windows

  • Run command prompt as administrator privilege.
  • Change directory (cd ) to MDDC Worker installation folder (e.g. C:\Program Files\OPSWAT\MetaDefender Distributed Cluster Worker )
  • Run following file script to generate MDDC Worker support package:
Copy
  • Find and collect MDDC Worker generated support package (mddc-worker-<worker_version>-support-<timestamp>.zip ) in the MDDC Worker installation folder.

Linux

  • Run terminal as root privilege (sudo ).
  • Run following file script to generate MDDC Worker support package:
Copy
  • Find and collect MDDC Worker generated support package (mddc-worker-<worker_version>-support-<timestamp>.zip ) in the current folder.

7. Redis (Caching Server)

Windows

  • Find and collect Redis own logs in the Redis installation folder (e.g. C:\Program Files\Redis\server_log.txt)

Linux

  • Run terminal as root privilege (sudo ).
  • Open Redis config file (/etc/redis/redis.conf ) in edit mode e.g.:
Copy
  • Find and change logfile directive to your desired location
Copy
  • Save the file, and restart Redis daemon e.g.
Copy
  • Find and collect Redis log at <path to redis log>.log

8. RabbitMQ (Messaging Broker Server)

Windows

  • Find and collect RabbitMQ log at %APPDATA%\RabbitMQ\log\rabbit@<computer name>.log
  • Find and collect RabbitMQ upgrade log at %APPDATA%\RabbitMQ\log\rabbit@<computer name>_upgrade.log

Linux

  • Run terminal as root privilege (sudo ).
  • Run following command to retrieve RabbitMQ log location:
Copy
  • Access RabbitMQ log folder and find log files:
    • rabbit@<computer name>.log
    • rabbit@<computer name>_upgrade.log

9. PostgreSQL (Database Server)

Windows

  • Find and collect PostgreSQL log files in C:\Program Files\PostgreSQL\12\data\log with names postgresql-<yyyy-mm-dd>_<HHMMSS>.log

Linux

  • Run terminal as root privilege (sudo ).
  • Open PostgreSQL config file (/etc/postgresql/12/main/postgresql.conf ) in edit mode e.g.:
Copy
  • Find and change logging_collector directive to on :
Copy
  • Save the file and restart PostgreSQL daemon, e.g.:
Copy
  • Find and collect log files in /var/lib/postgresql/12/main/log with names postgresql-<yyyy-mm-dd>_<HHMMSS>.log
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard