Coder Social home page Coder Social logo

elasticsearch_kibana_tutorial's Introduction

ElasticSearch & Kibana Tutorial

A sample repository for discovering Elastic Search and Kibana image

docker network create elastic
docker pull docker.elastic.co/elasticsearch/elasticsearch:8.7.1 (1)
docker run --name elasticsearch --net elastic -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -t docker.elastic.co/elasticsearch/elasticsearch:8.7.1
docker pull docker.elastic.co/kibana/kibana:8.7.1
docker run --name kibana --net elastic -p 5601:5601 docker.elastic.co/kibana/kibana:8.7.1
  • Check that the ports 5601 and 9200 are listening with netstat or curl :
curl localhost:5601

image

  • You should see the following message in the console, paste it somewhere safe:
✅ Elasticsearch security features have been automatically configured!
✅ Authentication is enabled and cluster connections are encrypted.

ℹ️  Password for the elastic user (reset with `bin/elasticsearch-reset-password -u elastic`):

ℹ️  HTTP CA certificate SHA-256 fingerprint:

ℹ️  Configure Kibana to use this cluster:
• Run Kibana and click the configuration link in the terminal when Kibana starts.
• Copy the following enrollment token and paste it into Kibana in your browser (valid for the next 30 minutes):  

ℹ️ Configure other nodes to join this cluster:
• Copy the following enrollment token and start new Elasticsearch nodes with `bin/elasticsearch --enrollment-token <token>` (valid for the next 30 minutes):
 
 If you're running in Docker, copy the enrollment token and run:
 `docker run -e "ENROLLMENT_TOKEN=<token>" docker.elastic.co/elasticsearch/elasticsearch:8.7.1`
  • Log in to Kibana as the elastic user with the password that was generated when you started Elasticsearch

  • Search for Kibana's Developer Console in Management > Dev Tools :

image

  • You should see something like that:

image

  • Off to the Elastic Search rabbbit hole you go !
Exercice Topic Difficulty
1 CRUD Operations
2 Basic Queries
3 Boolean Queries ⭐⭐
4 Mappings and Analyzers ⭐⭐
5 The Distributed Architecture of ES 〽️

elasticsearch_kibana_tutorial's People

Contributors

trinhrobin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.