layout | title | nav_order | has_children | has_toc |
---|---|---|---|---|
default |
Kibana |
11 |
true |
false |
Kibana is the default visualization tool for data in Elasticsearch. It also serves as a user interface for the Open Distro for Elasticsearch Security and Alerting plugins.
You can start Kibana using docker run
after creating a Docker network and starting Elasticsearch, but the process of connecting Kibana to Elasticsearch is significantly easier with a Docker Compose file.
-
Run
docker pull amazon/opendistro-for-elasticsearch-kibana:1.6.0
. -
Create a
docker-compose.yml
file appropriate for your environment. A sample file that includes Kibana is available on the Open Distro for Elasticsearch Docker installation page.Just like
elasticsearch.yml
, you can pass a customkibana.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 Kibana.
-
When finished, run
docker-compose down
.
-
If you haven't already, add the
yum
repositories specified in steps 1--2 in RPM or theapt
repositories in steps 2--3 of Debian package. -
sudo yum install opendistroforelasticsearch-kibana
orsudo apt install opendistroforelasticsearch-kibana
-
Modify
/etc/kibana/kibana.yml
to useelasticsearch.hosts
rather thanelasticsearch.url
. -
sudo systemctl start kibana.service
-
To stop Kibana:
sudo systemctl stop kibana.service
To run Kibana when the system starts:
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable kibana.service
You can also modify the values in /etc/kibana/kibana.yml
.
-
Download the tarball:
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistroforelasticsearch-kibana/opendistroforelasticsearch-kibana-1.6.0.tar.gz -o opendistroforelasticsearch-kibana-1.6.0.tar.gz
-
Download the checksum:
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistroforelasticsearch-kibana/opendistroforelasticsearch-kibana-1.6.0.tar.gz.sha512 -o opendistroforelasticsearch-kibana-1.6.0.tar.gz.sha512
-
Verify the tarball against the checksum:
shasum -a 512 -c opendistroforelasticsearch-kibana-1.6.0.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:
tar -zxf opendistroforelasticsearch-kibana-1.6.0.tar.gz cd opendistroforelasticsearch-kibana
-
If desired, modify
config/kibana.yml
. -
Run Kibana:
./bin/kibana
-
Download the ZIP.
-
Extract the ZIP file to a directory and open that directory at the command prompt.
-
If desired, modify
config/kibana.yml
. -
Run Kibana:
.\bin\kibana.bat
-
Download the EXE file, run it, and click through the steps.
-
Open the command prompt.
-
Navigate to the Kibana install directory.
-
If desired, modify
config/kibana.yml
. -
Run Kibana:
.\bin\kibana.bat
- After starting Kibana, you can access it at port 5601. For example, http://localhost:5601{:target='_blank'}
- 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.