๐Ÿ”Ž Observability Made Easy: Using Avien with OpenSearch

Mohit MeshramMohit Meshram
2 min read

In todayโ€™s world of cloud-native applications, observability is not optional โ€” itโ€™s essential. For those leveraging OpenSearch for log management and analytics, thereโ€™s an emerging tool that makes the setup simpler and more effective: Avien.

In this blog post, we'll explore:
โœ… What is Avien?
โœ… Why Use Avien with OpenSearch?
โœ… Deploying Avien for OpenSearch Observability
โœ… Final Result
โœ… Useful Resources


๐Ÿ“Š What is Avien?

Avien is an observability zero-to-hero project designed to simplify the deployment of log collectors, exporters, dashboards, and observability pipelines. It provides a pre-configured stack for developers, SREs, and DevOps engineers who want a hassle-free way to set up observability for Kubernetes workloads.

Key Features:

  • ๐Ÿ”น Simplified Fluent Bit + OpenSearch deployment

  • ๐Ÿ”น Pre-built Helm charts & manifests

  • ๐Ÿ”น Minimal manual configuration

  • ๐Ÿ”น Works for beginners & experts alike


๐Ÿ”— Why Use Avien with OpenSearch?

While OpenSearch is a powerful search and analytics engine (originally forked from ElasticSearch), setting up log pipelines with Fluent Bit, ingest pipelines, and dashboards can be overwhelming.

This is where Avien bridges the gap:

  • ๐Ÿš€ Automates Fluent Bit setup for log shipping

  • ๐Ÿ” Integrates seamlessly with OpenSearch indices

  • ๐Ÿ“Š Provides visual dashboards & queries

  • ๐Ÿ”ง Reduces the boilerplate YAML configurations


๐Ÿ› ๏ธ Deploying Avien for OpenSearch Observability

Letโ€™s walk through the basic steps to deploy Avien in a Kubernetes environment to stream logs into OpenSearch.

You can follow the below youtube link Mr Abhishek Veeramalla has explained everything.

YouTube: https://youtu.be/OSShB_cXisE?si=5xdmRlNn6louChJv

GitHub Repo: https://github.com/iam-veeramalla/observability-zero-to-hero/tree/main/opensearch-stack

If you find an error while running an pod create ServiceAccount.yaml

Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedCreate 2m47s (x22 over 43m) daemonset-controller Error creating: pods "fluent-bit-" is forbidden: error looking up service account logging/fluent-bit: serviceaccount "fluent-bit" not found.

โœ… Create ServiceAccount YAML:
apiVersion: v1 kind: ServiceAccount metadata: name: fluent-bit namespace: logging

kubectl apply -f fluent-bit-daemonset.yaml

kubectl get pods -n logging

kubectl get daemonsets -n logging


โœ… Final Result

๐ŸŽ‰ You now have:

  • Fluent Bit collecting logs from Kubernetes nodes

  • Logs shipped to OpenSearch indices

  • Visual dashboards for search and analytics

๐Ÿ“ Useful Resources

Special Guidance

Special thanks to Abhishek Veeramalla Sir who has performed this task and I have tried to execute the same. You are real gem for the community.

0
Subscribe to my newsletter

Read articles from Mohit Meshram directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Mohit Meshram
Mohit Meshram