DevOps Classroomnotes 21/Dec/2022

Four Golden Signals

  • Refer Here
  • Four Golden signals
    • Latency
    • Traffic
    • Errors
    • Saturation

Log Monitoring Contd.

  • As of now we know how to send logs or parsed logs to elastic search (Logstash to Elastic Search)
  • Architecture
    Preview
    Preview
  • Elastic cloud account Refer Here
    Preview
    Preview
    Preview
  • Check the elastic endpoint
    Preview

Beats

  • The beats is a lightweight framework that was created to ship metrics or logs to elastic stack
  • Refer Here for official page
  • The shippers available are
    • file beat: send files from the nodes to elastic search
    • metric beats: sends metrics (cpu, memory, storage etc) to elastic search
    • packet beat: send network traffic to elastic search
    • winlog beat: sends windows event logs to elastic search
    • Heart beat: sends the uptime to elastic search

Lets create a server with apache and send metrics to elastic search

  • In this case initially lets send basic system info to elastic search.
  • Install apache server
    Preview
  • Metric beat:
  • Installing metric beat Refer Here.

  • Get the cloud id from elastic search and enter cloud id and cloud auth in metricbeat.yml
    Preview
  • Now enable necessary modules
    Preview
  • Configure metric beat Refer Here

Preview

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner