Get Started with ElasticSearch and Kibana on Windows

0

ElasticSearch is a distributed, restful analytics search engine which is used to provide faster search through your data than the traditional databases including RDBMS and NoSQL databases. It works by regularly creating data indices from the data stored in traditional databases and use Lucene library to search through the data.

Kibana is the visualization client used to explore, visualize and discover the data.

In this post, you would learn about some of the following:

  • Setup ElasticSearch and Kibana on Windows
  • Load Sample Data and play around

Setup ElasticSearch and Kibana on Windows

  • Setup ElasticSearch on Windows: Go to the elasticsearch installation page and download the file elasticsearch-6.2.2.zip. Follow the instructions on the page to start the elasticsearch server. Go to elasticsearch-6.2.2/bin folder and execute the command elasticsearch.bat. This would start elasticsearch server. Confirm the installation by accessing the URL: http://127.0.01:9200. Something like following would get printed:
    {
      "name" : "lp9UsQx",
      "cluster_name" : "elasticsearch",
      "cluster_uuid" : "vrpmq49cQTq4E2fJ9rEEmA",
      "version" : {
        "number" : "6.2.2",
        "build_hash" : "10b1edd",
        "build_date" : "2018-02-16T19:01:30.685723Z",
        "build_snapshot" : false,
        "lucene_version" : "7.2.1",
        "minimum_wire_compatibility_version" : "5.6.0",
        "minimum_index_compatibility_version" : "5.0.0"
      },
      "tagline" : "You Know, for Search"
    }
    
  • Setup Kibana: Go to the Kibana installation page, and, download the file, kibana-6.2.2-windows-x86_64.zip. Follow the instructions on the page to setup Kibana. Go to kibana-6.2.2/bin and execute kibana.bat. This would start the Kibana server. Access the URL: http://127.0.0.1:5601 and you would see the page like following:
    kibana dashboard - Kibana setup

    Figure 1. Kibana Dashboard

     

Load Sample Data and Play Around

Get started by loading sample data from the following page:
Follow instructions on the following pages to get a hang of whats happening. However, we may be interested only in defining index patterns and discovering the data from the following pages.

Summary

In this post, you learned about installing Elasticsearch and Kibana on Windows and getting started by loading the data.

Did you find this article useful? Do you have any questions or suggestions about this article in relation to setting up ElasticSearch and Kibana on Windows? Leave a comment and ask your questions and I shall do my best to address your queries.

Ajitesh Kumar

Ajitesh Kumar

Ajitesh is passionate about various different technologies including programming languages such as Java/JEE, Javascript, PHP, C/C++, mobile programming languages etc, and, computing fundamentals related with cloud-native technologies, application security, cloud computing platforms, mobile apps, big data etc.

He has also authored the book, Building Web Apps with Spring 5 and Angular.
Ajitesh Kumar

Leave A Reply

Time limit is exhausted. Please reload the CAPTCHA.