Overview Release Notes Central Hub Deployment Kubernetes Configuration Advanced Deployment
Getting Started
Deployment & Usage
Support
References
Central Hub Deployment
v5.9.0
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 (Container Environment)
Copy Markdown
Open in ChatGPT
Open in Claude
1. MetaDefender Core
# Step 1: Run the below command to generate support package file
docker exec <container-name> /bin/bash -c "cd /opt/ometascan/core_data && /opt/ometascan/usr/bin/ometascan-collect-support-data.sh"
# Step 2: Copy the package file from container to host machine
docker cp <container-name>:/opt/ometascan/core_data/<support-package-file>.tar.gz <target folder>
<container-name>the name of the container<support-package-file>.tar.gzthe support package file is generated you can see it in the output console log when you execute the command in theStep 1<target folder>the location folder save the support package file in the host machine
Example:
docker exec core /bin/bash -c "cd /opt/ometascan/core_data && /opt/ometascan/usr/bin/ometascan-collect-support-data.sh"
# output: Support file created: ometascan-hub-1.0.0-1-support-1666784477.tar.gz
docker cp core:/opt/ometascan/core_data/ometascan-5.3.0-1-support-1666784477.tar.gz ./
2. MetaDefender Core NAS (File Storage Server)
# Step 1: Run the below command to generate support package file
docker exec <container-name> /bin/bash -c "cd /opt/ometascan-nas/nas_data && /opt/ometascan-nas/usr/bin/ometascan-nas-collect-support-data.sh"
# Step 2: Copy the package file from container to host machine
docker cp <container-name>:/opt/ometascan-nas/nas_data/<support-package-file>.tar.gz <target folder>
<container-name>the name of the container<support-package-file>.tar.gzthe support package file is generated you can see it in the output console log when you execute the command in theStep 1<target folder>the location folder save the support package file in the host machine
Example:
docker exec nas /bin/bash -c "cd /opt/ometascan-nas/nas_data && /opt/ometascan-nas/usr/bin/ometascan-nas-collect-support-data.sh"
# output: Support file created: ometascan-nas-1.0.0-1-support-1666787848.tar.gz
docker cp nas:/opt/ometascan-nas/nas_data/ometascan-nas-1.0.0-1-support-1666787848.tar.gz .
3. Redis (Caching Server)
docker logs <name of container> &> <filename>.log
Example:
docker logs redis &> redis.log
4. RabbitMQ (Messaging Broker Server)
docker logs <name of container> &> <filename>.log
Example:
Last updated on
Was this page helpful?
Next to read:
Known Limitationsnull
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