📄️ Extract Fields from Log Body
Learn how to extract structured data from a log body and set it as log attributes using OTTL's ExtractPatterns function in the Scout Collector.
📄️ Extracting Log Level from Log Body
Extract log severity levels from log body using OpenTelemetry transform processor. Parse and categorize DEBUG, INFO, WARN, ERROR, and FATAL levels in Scout.
📄️ Filtering Logs Using Regex and Attribute-Based Conditions
Filter logs using regex patterns and JSON attribute conditions in OpenTelemetry pipelines. Drop or keep logs based on pattern matching and structured data fields in Scout.
📄️ Filtering pgX Metrics at the Collector Level
Filter and drop pgX PostgreSQL metrics at the OpenTelemetry collector level using the filter processor. Drop metrics by name, attributes, or regex patterns with OTTL expressions in Scout.
📄️ Transforming Spans Using OTTL Functions
Use OTTL (OpenTelemetry Transformation Language) to modify span data in the Scout Collector. Transform span names, manipulate attributes, redact sensitive data, and drop unwanted spans.
📄️ Extracting TraceId and SpanId from JSON Log Body
Extract trace and span IDs from JSON log body using OpenTelemetry transform processor. Enable distributed tracing correlation in Scout with log-to-trace linking.