DevOps Classroomnotes 22/Feb/2022

Configuring Kibana to work with Elastic Search

  • Launch the Virtual Machine where the Elastic Search is Installed
  • For installing kibana Refer Here. For ubuntu specific installation Refer Here
sudo apt-get update && sudo apt-get install kibana -y
  • Configurations for kibana will be present in /etc/kibana/kibana.yml
    Preview
  • Refer Here to configuration of kibana
  • configure kibana.yml to point to elastic search. Kibana default configuration is configured to communicate with elasticsearch on localhost, which we can change to any ip address
    Preview
    Preview
    Preview
  • Now open http://<publicip&gt;:5601
    Preview
    Preview
    Preview

Http Requests and Responses

  • Http Request:
  • Here we need to specify the url
  • Methods:

    • GET: To get the information => Retrieve
    • DELETE: To delete the information => Delete
    • POST: To Create the information => Create
    • PUT: To update the existing information => Update
  • Http Response:
  • We Get Status Codes and message body for some HTTP Methods (Verbs)
    • 1xx => informational
    • 2xx => success
    • 3xx => redirection
    • 4xx => client side errors
    • 5xx => server side errors
  • Elastic search also sends the json responses
  • Refer Here for json tutorial.
  • Exercise:
  • Create a curl command to get the response from https://jsonplaceholder.typicode.com/todos/1
  • using verbose find the content type, request method and response status code

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner