RousselTMLEARNING

Observability

Reducing, masking and routing telemetry with Bindplane

Reduce ingestion costs with Bindplane: severity filters, deduplication, sampling, field removal, sensitive data masking, routing to several destinations, recommendations and measuring the reduction.

1. Reducing before sending #

The first economic argument.

The levers #

Example of step-by-step log volume reduction
Actual gains depend on the sources: verbose application logs shrink much more than audit logs.
LeverProcessorTypical gainRisk
Drop unneeded levelsSeverity FilterHigh on verbose applicationsLosing DEBUG that is useful during incidents: keep it in object storage
DeduplicateDeduplicate LogsHigh on looping errorsCount occurrences (count field)
Delete fieldsDelete FieldsMediumRemoving a field used by a dashboard
SampleSamplingProportional to the rateSkewing counts: reserve it for success logs
Convert logs into metricsExtract Metric / CountVery highLoss of detail: keep a sample
Good practice: Measure before cutting: the per-processor throughput shown on the pipeline gives the real gain of each rule, and Bindplane's recommendations (Pipeline Intelligence) flag sources where a reduction is possible.

2. Protecting data #

Masking as close to the source as possible.

Masking #

The Mask Sensitive Data processor replaces recognized patterns (email addresses, credit card numbers, phone numbers, IP addresses, social security numbers) or your own regular expressions with a masked value, in the log body and in the chosen attributes.

{"msg":"paiement refusé","user":"alice@example.com","card":"4111 1111 1111 1111"}
# après masquage
{"msg":"paiement refusé","user":"[fqdn_masked]","card":"[credit_card_masked]"}
Good to know: The exact format of masked values depends on the chosen rules: check it with a snapshot after the processor.
Common mistake: Masking only in the backend is not enough: the sensitive data has already crossed the network and may have been stored. Put masking in the edge collector, before any destination.
Masking before any destination
Fictitious data. The replacement value depends on the rule: check the body and attributes in a snapshot after masking.

3. Routing #

One collection, several destinations.

Routing #

Routing logs to three destinations

A configuration can send to several destinations, each with its own processors. The routing connector goes further: it directs each record, based on a condition (attribute, source, content), to a different branch of the pipeline.

  • SIEM: only security logs (authentication, firewall), already masked.
  • Observability tool: filtered application logs.
  • Object storage (S3, GCS): everything, at low cost, to rehydrate later during an investigation.
Good practice: A backend migration can be done safely by adding the new destination next to the old one, comparing for a few weeks, then removing the old one with a simple rollout.

Related articles

The observability trilemma: cost, completeness and performance, and how solutions resolve it

Understanding the observability trilemma (cost, data completeness, query performance), its three trade-offs, …

Bindplane: managing your OpenTelemetry telemetry pipelines

Understand Bindplane: a control plane for OpenTelemetry collectors via OpAMP, BDOT Collector, configurations,…

OpenTelemetry Collector, Grafana Alloy and Bindplane: comparing three approaches to telemetry pipelines

Detailed comparison of three ways to manage telemetry pipelines: the OpenTelemetry Collector in YAML, Grafana…

Keep learning

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!