package
module
Version:
v0.89.0
Opens a new window with list of versions in this module.
Published: Nov 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 5
Opens a new window with list of known importers.
README
¶
NOTE - This processor is experimental, with the intention that its functionality will be reimplemented in the transform processor in the future.
The logs transform processor can be used to apply log operators to logs coming from any receiver.
Please refer to config.go for the config spec.
Examples:
processors:
logstransform:
operators:
- type: regex_parser
regex: '^(?P<time>\d{4}-\d{2}-\d{2}) (?P<sev>[A-Z]*) (?P<msg>.*)$'
timestamp:
parse_from: body.time
layout: "%Y-%m-%d"
severity:
parse_from: body.sev
Refer to config.yaml for detailed
examples on using the processor.
Documentation
¶
Package logstransformprocessor implements a processor
to apply log operators to logs coming from any receiver.
NewFactory returns a new factory for the Logs Transform processor.
Config defines configuration for Resource processor.
Validate checks if the processor configuration is valid
Source Files
¶
Directories
¶
internal
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.