OpenSearch Integration
For MetaDefender Core and MetaDefender ICAP' Scan Reports feature, My OPSWAT On-premises provides an optional integration feature with an external OpenSearch server for optimized storage and query performance.
To set up OpenSearch integration:
Set up an external OpenSearch server. Please refer to the official OpenSearch documentation.
Log into the virtual appliance's CLI terminal using the Local User credentials configured during the setup wizard.
Run sudo /os/prod-scripts/cent-ocm-service.sh stop to stop My OPSWAT service.
Run sudo /os/prod-scripts/cent-update-docker-profile.sh opensearch to enable OpenSearch integration mode.
Run vim /home/<user>/bin/opensearch-external.properties to edit the OpenSearch configuration. The following settings are available by default
OPENSEARCH_ADDRESSES=https://opensearch:9200
- The address(es) of the external OpenSearch server/cluster.
OPENSEARCH_USERNAME=admin
- The username used to access the OpenSearch server. Please note that this username should have administrator privilege.
OPENSEARCH_PASSWORD=placeholder
- The password used to access the OpenSearch server.
(Optional) Test connection to the OpenSearch server. You can use the built-in curl command to test connection to the OpenSearch server.
- For example, curl -X GET https://opensearchserver.local:9200 -u 'admin:<custom-admin-password>' --insecure.
Run sudo /os/prod-scripts/cent-opensearch-apply.sh to apply the OpenSearch configuration.
Run sudo /os/prod-scripts/cent-ocm-service.sh start to start My OPSWAT service.