4.0 KiB
layout | title | nav_order | has_children | has_toc |
---|---|---|---|---|
default | OpenSearch Dashboards | 11 | true | false |
OpenSearch Dashboards
OpenSearch Dashboards is the default visualization tool for data in OpenSearch. It also serves as a user interface for the OpenSearch security, alerting, and Index State Management plugins.
Run OpenSearch Dashboards using Docker
You can start OpenSearch Dashboards using docker run
after creating a Docker network and starting OpenSearch, but the process of connecting OpenSearch Dashboards to OpenSearch is significantly easier with a Docker Compose file.
-
Run
docker pull opensearch/opensearch-dashboards:{{site.opensearch_version}}
. -
Create a
docker-compose.yml
file appropriate for your environment. A sample file that includes OpenSearch Dashboards is available on the OpenSearch Docker installation page.Just like
opensearch.yml
, you can pass a customopensearch_dashboards.yml
to the container in the Docker Compose file. {: .tip } -
Run
docker-compose up
.Wait for the containers to start. Then see Get started with OpenSearch Dashboards.
-
When finished, run
docker-compose down
.
Configuration
To run OpenSearch Dashboards when the system starts:
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable opensearch-dashboards.service
You can also modify the values in /etc/opensearch-dashboards/opensearch_dashboards.yml
.
Run OpenSearch Dashboards using the tarball
-
Download the tarball:
# x64 curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opensearch-dashboards/opensearch-dashboards-{{site.opensearch_version}}-linux-x64.tar.gz -o opensearch-dashboards-{{site.opensearch_version}}-linux-x64.tar.gz # ARM64 curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opensearch-dashboards/opensearch-dashboards-{{site.opensearch_version}}-linux-arm64.tar.gz -o opensearch-dashboards-{{site.opensearch_version}}-linux-arm64.tar.gz
-
Download the checksum:
# x64 curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opensearch-dashboards/opensearch-dashboards-{{site.opensearch_version}}-linux-x64.tar.gz.sha512 -o opensearch-dashboards-{{site.opensearch_version}}-linux-x64.tar.gz.sha512 # ARM64 curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opensearch-dashboards/opensearch-dashboards-{{site.opensearch_version}}-linux-arm64.tar.gz.sha512 -o opensearch-dashboards-{{site.opensearch_version}}-linux-arm64.tar.gz.sha512
-
Verify the tarball against the checksum:
# x64 shasum -a 512 -c opensearch-dashboards-{{site.opensearch_version}}-linux-x64.tar.gz.sha512 # ARM64 shasum -a 512 -c opensearch-dashboards-{{site.opensearch_version}}-linux-arm64.tar.gz.sha512
On CentOS, you might not have
shasum
. Install this package:sudo yum install perl-Digest-SHA
-
Extract the TAR file to a directory and change to that directory:
# x64 tar -zxf opensearch-dashboards-{{site.opensearch_version}}-linux-x64.tar.gz cd opensearch-dashboards # ARM64 tar -zxf opensearch-dashboards-{{site.opensearch_version}}-linux-arm64.tar.gz cd opensearch-dashboards
-
If desired, modify
config/opensearch_dashboards.yml
. -
Run OpenSearch Dashboards:
./bin/opensearch-dashboards
Get started with OpenSearch Dashboards
- After starting OpenSearch Dashboards, you can access it at port 5601. For example, http://localhost:5601.
- Log in with the default username
admin
and passwordadmin
. - Choose Try our sample data and add the sample flight data.
- Choose Discover and search for a few flights.
- Choose Dashboard, [Flights] Global Flight Dashboard, and wait for the dashboard to load.