Standalone plugin install
If you don’t want to use the all-in-one installation options, you can install the various plugins for OpenSearch Dashboards individually.
Plugin compatibility
Major, minor, and patch plugin versions must match OpenSearch major, minor, and patch versions in order to be compatible. For example, plugins versions 2.3.0.x work only with OpenSearch 2.3.0.
Prerequisites
- A compatible OpenSearch cluster
- The corresponding OpenSearch plugins installed on that cluster
- The corresponding version of OpenSearch Dashboards (for example, OpenSearch Dashboards 2.1.0 works with OpenSearch 2.1.0)
Available plugins
The following table lists available OpenSearch Dashboards plugins.
Plugin Name | Repository | Earliest Available Version |
---|---|---|
Alerting Dashboards | alerting-dashboards-plugin | 1.0.0 |
Anomaly Detection Dashboards | anomaly-detection-dashboards-plugin | 1.0.0 |
Custom Import Maps Dashboards | dashboards-maps | 2.2.0 |
Search Relevance Dashboards | dashboards-search-relevance | 2.4.0 |
Gantt Chart Dashboards | gantt-chart | 1.0.0 |
Index Management Dashboards | index-management-dashboards-plugin | 1.0.0 |
Notebooks Dashboards | dashboards-notebooks | 1.0.0 |
Notifications Dashboards | notifications | 2.0.0 |
Observability Dashboards | dashboards-observability | 2.0.0 |
Query Workbench Dashboards | query-workbench | 1.0.0 |
Reports Dashboards | dashboards-reports | 1.0.0 |
Security Analytics Dashboards | security-analytics-dashboards-plugin | 2.4.0 |
Security Dashboards | security-dashboards-plugin | 1.0.0 |
Install
Navigate to the OpenSearch Dashboards home directory (likely /usr/share/opensearch-dashboards
) and run the install command for each plugin.
List installed plugins
To check your installed plugins:
sudo bin/opensearch-dashboards-plugin list
Remove plugins
To remove a plugin:
sudo bin/opensearch-dashboards-plugin remove <plugin-name>
Then remove all associated entries from opensearch_dashboards.yml
.
For certain plugins, you must also remove the “optimze” bundle. This is a sample command for the Anomaly Detection plugin:
sudo rm /usr/share/opensearch-dashboards/optimize/bundles/opensearch-anomaly-detection-opensearch-dashboards.*
Then restart OpenSearch Dashboards. After you remove any plugin, OpenSearch Dashboards performs an optimize operation the next time you start it. This operation takes several minutes even on fast machines, so be patient.
Update plugins
OpenSearch Dashboards doesn’t update plugins. Instead, you have to remove the old version and its optimized bundle, reinstall them, and restart OpenSearch Dashboards:
Remove the old version:
sudo bin/opensearch-dashboards-plugin remove <plugin-name>
Remove the optimized bundle:
sudo rm /usr/share/opensearch-dashboards/optimize/bundles/<bundle-name>
Reinstall the new version:
sudo bin/opensearch-dashboards-plugin install <plugin-name>
Restart OpenSearch Dashboards.
For example, to remove and reinstall the anomaly detection plugin:
sudo bin/opensearch-plugin remove opensearch-anomaly-detection
sudo rm /usr/share/opensearch-dashboards/optimize/bundles/opensearch-anomaly-detection-opensearch-dashboards.*
sudo bin/opensearch-dashboards-plugin install <AD OpenSearch Dashboards plugin artifact URL>