Central Hub Deployment
v5.13.2
Search this version
Central Hub Deployment
Central Hub Deployment
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How To Collect Logs In Central Hub Deployments
Copy Markdown
Open in ChatGPT
Open in Claude
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:
ometascan-hub-collect-support-data.bat- 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:
/usr/bin/ometascan-hub-collect-support-data.sh- 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:
ometascan-nas-collect-support-data.bat- 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:
/usr/bin/ometascan-nas-collect-support-data.sh- 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.:
vi /etc/redis/redis.conf- Find and change
logfiledirective to your desired location
logfile "<path to redis log>.log"- Save the file, and restart Redis daemon e.g.
sudo systemctl restart redis- 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:
rabbitmq-diagnostics -q log_location- Access RabbitMQ log folder and find log files:
rabbit@<computer name>.lograbbit@<computer name>_upgrade.log
6. PostgreSQL (Database Server)
Windows
- Find and collect PostgreSQL log files in
C:\Program Files\PostgreSQL\12\data\logwith 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.:
vi /etc/postgresql/12/main/postgresql.conf- Find and change
logging_collectordirective toon:
logging_collector = on- Save the file and restart PostgreSQL daemon, e.g.:
sudo systemctl restart postgresql- Find and collect log files in
/var/lib/postgresql/12/main/logwith namespostgresql-<yyyy-mm-dd>_<HHMMSS>.log
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message
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