How To Collect Logs In Central Hub Deployments
1. MetaDefender Core
Please refer to How to Create Support Package?
2. MetaDefender Core Hub (Hub)
Windows
- Run command prompt as administrator privilege.
- Change directory (
cd
) to Hub installation directory (e.g.C:\Program Files\OPSWAT\MetaDefender Core Hub
) - Run following file script to generate Hub support package:
- Find and collect Hub generated support package (
ometascan-hub-<hub_version>-support-<timestamp>.zip
) in the Hub installation folder
Linux
- Run terminal as root privilege (
sudo
). - Run following file script to generate Hub support package:
- Find and collect Hub generated support package (
ometascan-hub-<hub_version>-support-<timestamp>.zip
) in the current folder.
3. MetaDefender Core NAS (File Storage Server)
Windows
- Run command prompt as administrator privilege.
- Change directory (
cd
) to NAS installation folder (e.g.C:\Program Files\OPSWAT\MetaDefender Core Nas
) - Run following file script to generate NAS support package:
- Find and collect NAS generated support package (
ometascan-nas-<nas_version>-support-<timestamp>.zip
) in the Hub installation folder.
Linux
- Run terminal as root privilege (
sudo
). - Run following file script to generate NAS support package:
- Find and collect NAS generated support package (
ometascan-nas-<nas_version>-support-<timestamp>.zip
) in the current folder.
4. 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.:
- Find and change
logfile
directive to your desired location
- Save the file, and restart Redis daemon e.g.
- Find and collect Redis log at
<path to redis log>.log
5. 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:
- Access RabbitMQ log folder and find log files:
rabbit@<computer name>.log
rabbit@<computer name>_upgrade.log
6. PostgreSQL (Database Server)
Windows
- Find and collect PostgreSQL log files in
C:\Program Files\PostgreSQL\12\data\log
with namespostgresql-<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.:
- Find and change
logging_collector
directive toon
:
- Save the file and restart PostgreSQL daemon, e.g.:
- Find and collect log files in
/var/lib/postgresql/12/main/log
with namespostgresql-<yyyy-mm-dd>_<HHMMSS>.log
Was this page helpful?
On This Page
How To Collect Logs In Central Hub Deployments1. MetaDefender Core2. MetaDefender Core Hub (Hub)WindowsLinux3. MetaDefender Core NAS (File Storage Server)WindowsLinux4. Redis (Caching Server)WindowsLinux5. RabbitMQ (Messaging Broker Server)WindowsLinux6. PostgreSQL (Database Server)WindowsLinux