Elasticsearch provides near real-time search and analytics for all types of data. Whether you have structured or unstructured text, numerical data, or geospatial data, Elasticsearch can efficiently store and index it in a way that supports fast searches. You can go far beyond simple data retrieval and aggregate information to discover trends and patterns in your data. And as your data and query volume grows, the distributed nature of Elasticsearch enables your deployment to grow seamlessly right along with it.
Kibana enables you to give shape to your data and navigate the Elastic Stack. With Kibana, you can:
Search, observe, and protect your data. From discovering documents to analyzing logs to finding security vulnerabilities, Kibana is your portal for accessing these capabilities and more.
Analyze your data. Search for hidden insights, visualize what you’ve found in charts, gauges, maps, graphs, and more, and combine them in a dashboard.
Manage, monitor, and secure the Elastic Stack. Manage your data, monitor the health of your Elastic Stack cluster, and control which users have access to which features
Open putty , In HostName : <your_server_ip_address>
To connect server you must have an SSH key file in .ppk format.
Go to Connection > SSH > Auth > Browse your SSH key in .ppk format
Go to Session > Save and Open
It will prompt the connect alert, please accept it and login to the server with an SSH username (for example : ubuntu)
Download and install the public signing key :
You may need to install the
apt-transport-https package on Debian before proceeding:
To Install Elasticsearch, please run the following commands.
Start the elasticsearch service using following command
Enable elasticsearch service. This configuration helps to bring the Elasticsearch service online, as soon as the server is started.
Verify the Elasticsearch health using following command.
Change your path to tmp directory . Then, execute the curl command
After executing curl command, please enter the password saved in text file from above step.
If Elasticsearch is running properly, It will show you Elasticsearch health status
Navigate to Elasticsearch configuration directory.
Update the elasticsearch.yml with following network host and port configurations.
A sample Elasticsearch configuration can be found in following git repository file.
Restart the Elasticsearch service.
systemctl restart elasticsearch.service
Try to access the Elasticsearch URL (i.e https://<server-ip:9200>) from your browser and check the health of the Elasticsearch. An example screenshot is given below for your reference.
To Install Kibana, please run the following commands.
Start and enable Kibana auto start after server reboot, using following commands.
Navigate to Kibana configuration directory.
Update the kibana.yml with following server host and port configurations.
server.host : "0.0.0.0"
server.port : 5601
A sample Kibana configuration can be found in following git repository file.
Restart the Kibana service.
systemctl restart kibana.service
Try to access the Kibana URL(i.e http://<server-ip:5601>)from your browser.
In order to establish connection with Elasticsearch, the Kibana will prompt with enrollment token request popup box.
You can then generate an enrollment token for Kibana with the
Navigate to the directory where you installed Elasticsearch and run the
elasticsearch-create-enrollment-token tool to generate an enrollment token
Copy the generated token and paste it into the browser and click configure elastic button.
After Kibana will prompt for Verification code.
To generate Verification code , navigate to Kibana installation directory and execute the following script.
Please enter the verification code obtained from the previous step in the Kibana console, as shown in the following screenshot.
Login using username (i.e, elastic) and password (i.e, generated in Step 4: Installing Elasticsearch)