DevOps Classroom Series – 26/Nov/2020

Elastic Search Configuration

  • In the last series we were able to install elastic search, access elastic search from the local machine where elastic search was installed, but we were not able to access elastic search from external systems
  • Elastic Search Configuration:
    • Configuration of elastic search is in yaml format. (It will be located in /etc/elasticsearch/elasticsearch.yaml)
    • For understanding configuration Refer Here
    • For network settings Refer Here
    • Change the network settings as mentioned below Preview
    • Now try accessing the machine using external ip Preview Preview
  • To Understand elastic Search, lets use curl statement & Also kibana UI
  • Now lets install kibana on a different server Refer Here for the steps followed
  • Lets configure kibana to read the elastic search from the ip configured.
    • Navigate to /etc/kibana/kibana.yml file and change the elasticsearch ip address Preview
    • Now change the to point to private ip of kibana and navigate to the http://<public-ip-kibana&gt;:5601 Preview Preview Preview Preview Preview

Core Concepts of Elastic Search

  • The following Core Concepts of Elastic search are important to understand and to implement the Elastic Search Solution
    • Indexes
    • Types
    • Documents
    • Clusters
    • Nodes
    • Shards & Replicas
    • Mappings & Types
    • Inverted Indexes
  • Lets create the following request in Kibana Console
PUT /students/_doc/1
    "courses": ["AWS", "AZURE", "DevOps"],
    "name": "TonyStark",
    "description": "Joining all the 3 courses",
    "date": "26-11-2020",
    "QT-ID": "QTKHAJA-1010"
  • Scenario: You are running an application on some servers and they generate the logs in the text file. What do you think is a way to store it to so that we can query Preview

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About learningthoughtsadmin