terraform-ibm-modules / terraform-ibm-observability-agents Goto Github PK
View Code? Open in Web Editor NEWDeploys the Log Analysis agent and Cloud Monitoring agents to a cluster
License: Apache License 2.0
Deploys the Log Analysis agent and Cloud Monitoring agents to a cluster
License: Apache License 2.0
Currently the cluster id is surfaced in Sysdig. See attached screenshot.
For comparison, using the out of the box sysdig integration https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/ob_monitoring, the cluster name is surfaced. See second screenshot.
In order to customise the logdna traces collected&pushed by the logdna agent deployed through the observability-agents-module module, implement the following customization options:
this can be easily done by extending the logdna agent chart template at https://github.ibm.com/GoldenEye/observability-agents-module/blob/master/chart/logdna-agent/templates/daemonset.yaml
by adding something like
{{- if
.Values.logdna.tags
}}
- name: LOGDNA_TAGS
value: {{
.Values.logdna.tags
}}
in the template and by modifying the helm release module accordingly
this can be done with LOGDNA_LINE_EXCLUSION_REGEX env var configuration
More details on
https://github.com/logdna/logdna-agent-v2/blob/master/docs/README.md#configuring-regex-for-redaction-and-exclusion-or-inclusion
https://github.com/logdna/logdna-agent-v2/blob/master/docs/REGEX.md
Other details:
https://cloud.ibm.com/docs/log-analysis?topic=log-analysis-log_analysis_agent
https://github.com/logdna/logdna-agent-v2/blob/master/docs/README.md
LogDNA api to implement exclusion rules on logdna instance (allows to stream the logs that are visible only in live mode)
https://docs.mezmo.com/log-analysis-api/ref#get-v1-config-exclusions
observability-agents-module
By submitting this issue, you agree to follow our Code of Conduct
Use case: Surface the cluster name in the logdna logs so that consumer can filter by cluster name.
Approach:
terraform-ibm-observability-agents/main.tf
Line 106 in b52b75c
Terraform Module for observability agent management (installation and upgrade) in IBM Classic Kubernetes cluster.
By submitting this issue, you agree to follow our Code of Conduct
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.