Redact Processor
This is a processor made to use with the OpenTelemetry Collector, that redacts sensitive information present in log bodies using cockroachdb/redact.
Usage
Follow the guide to build a custom OpenTelemetry collector which has this processor included in it.
# builder-config.yaml
# ...
processors:
- gomod:
github.com/thecomputerm/redact/otelprocessor test-otel
# ...
And in the config for the collector:
processors:
redact:
service:
pipelines:
logs:
receivers: [...]
processors: [redact]
exporters: [...]