Central Hub Deployment
v5.13.3
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
Bash
x
# Step 1: Run the below command to generate support package filedocker 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 machinedocker 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:
Bash
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.gzdocker cp core:/opt/ometascan/core_data/ometascan-5.3.0-1-support-1666784477.tar.gz ./2. MetaDefender Core NAS (File Storage Server)
Bash
# Step 1: Run the below command to generate support package filedocker 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 machinedocker 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:
Bash
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.gzdocker cp nas:/opt/ometascan-nas/nas_data/ometascan-nas-1.0.0-1-support-1666787848.tar.gz .3. Redis (Caching Server)
Bash
docker logs <name of container> &> <filename>.logExample:
Bash
docker logs redis &> redis.log4. RabbitMQ (Messaging Broker Server)
Bash
docker logs <name of container> &> <filename>.logExample:
Bash
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?
Next to read:
Known LimitationsDiscard 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
