[Sensu Go Workshop] Lesson 5: Introduction to Events

[Sensu Go Workshop] Lesson 5: Introduction to Events

Jan 20, 2023

💻 The Sensu Go Workshop is an instructor-led training series designed to empower developers, SREs, and DevOps teams begin their monitoring as code journeys. Why do I need an Observability Pipeline? What is Monitoring as Code? All these questions and more are answered in the workshop.

Taking the Workshop will help you to:

✅ Take control of your monitoring and observability data with the Sensu Go observability pipeline
✅ Schedule monitoring jobs across elastic multi-cloud infrastrucutre to execute custom scripts, including Nagios-style plugins
✅ Collect custom application metrics and integrate observability data with external data platforms for unified business intelligence
✅ Send alerts via Slack, Microsoft Teams, Pagerduty, ServiceNow, and more
✅ Fine tune observability data processing workflows and eliminate alert fatigue using Sensu Go filters
✅ Automate multi-cloud endpoint management – discovering new VMs, public cloud compute instances, containers, and more in real-time
✅ Automate remediation (self-healing) with Sensu Go

LESSON FIVE OVERVIEW

In Lesson 5️⃣, we will take a deeper look at events in Sensu, create an event manually using common shell tools, and show how events can trigger alerts.

This lesson is intended for operators of Sensu and assumes you have set up a local workshop environment.

0:00 - INTRO

00:42 - EVENTS ARE OBSERVATIONS

01:15 - SYSTEM TRANSPARENCY

01:58 - THE FUNCTION OF TIME

02:40 - STRUCTURED DATA

03:12 - WORKING WITH EVENTS

04:04 - EVENT DATA STRUCTURE

05:13 - EXERCISE 1: CREATE AN EVENT MANUALLY

10:38 - DISCUSSION TIME

12:52 - WHAT'S NEXT

❓If you ever get stuck or have questions, feel free to reach out to us on Discourse: https://discourse.sensu.io/

NEXT STEPS

👀 Stay tuned for Lesson 6, where we will discuss using filters in the observability pipeline.

RESOURCES:

📚 [Documentation] Sensu Events Reference: https://docs.sensu.io/sensu-go/latest/observability-pipeline/observe-events/events/
📚 [Documentation] Sensu Events API Reference: https://docs.sensu.io/sensu-go/latest/api/core/events/
📚 [Documentation] Sensu Agent Events API Reference: https://docs.sensu.io/sensu-go/latest/observability-pipeline/observe-schedule/agent/#create-observability-events-using-the-agent-api
📚 [Blog Post] Filling gaps in Kubernetes observability with the Sensu Kubernetes Events integration: https://sensu.io/blog/filling-gaps-in-kubernetes-observability-with-the-sensu-kubernetes-events-integration

💻 Lesson 5 on GitHub: https://github.com/sensu/sensu-go-workshop/blob/latest/lessons/operator/05/README.md
📥 Download Sensu: https://sensu.io/downloads
🐦 Follow us on Twitter: https://twitter.com/sensu
💬 Join our Discourse community: https://discourse.sensu.io/