-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logs Transform Processor - unknown type: "logstransform" #29150
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
It looks like you're using a build that doesn't have the processor configured for use. Where are you getting your collector or building your collector? |
Heya dehaanse, It comes from: Kind regards |
Hi @Jessimon, from the status table in the README it looks like the processor isn't included in the @dehaansa and @djaglowski: Do you think it's ready to include in |
I'm not aware of any reasons to not include the processor in the contrib deliverable at this time. |
Thanks @dehaansa! In that case, anyone's welcome to submit PRs to get the The required steps are found in the adding a new component and releasing new components sections of the contributing documentation. Who ever is able to help complete this, please make sure all steps are complete for the component to be available in a future release. |
This processor was developed as a stopgap solution until transform processor could reimplement the same functionality. It will be deprecated in the future and should not be included in the contrib distro. |
What is the recommanded way to convert a log body to a json fromat? |
The transform processor should be able to handle this with the |
Since this processor is experimental and temporary there's no plan to support it long term. This makes it clear why it's not included in the contrib distribution releases. Fixes open-telemetry#29150
Thanks @djaglowski |
…leased in contrib (#29275) An issue was opened recently wondering why this processory was not available in the contrib release. Since this processor is experimental and temporary there's no plan to support it long term, so I've added a note that makes it clear why it's not included in the contrib distribution releases. Fixes #29150
@djaglowski - is there an issue somewhere tracking which functionality is known to be only possible in the logstransform processor? |
…leased in contrib (open-telemetry#29275) An issue was opened recently wondering why this processory was not available in the contrib release. Since this processor is experimental and temporary there's no plan to support it long term, so I've added a note that makes it clear why it's not included in the contrib distribution releases. Fixes open-telemetry#29150
It doesn't seem like transform processor supports regex parsing |
Component(s)
processor/logstransform
What happened?
Hello Everyone,
I receive logs where the body of the logs are in json format.
I would like to see them as json.
I added the following in my config.
processors: logstransform: operators: - type: json_parser parse_from: body
But when starting i get the following error:
otel-collector_1 | * error decoding 'processors': unknown type: "logstransform" for id: "logstransform" (valid values: [servicegraph span tail_sampling k8sattributes experimental_metricsgeneration metricstransform probabilistic_sampler transform cumulativetodelta filter remoteobserver resourcedetection resource batch memory_limiter attributes datadog routing spanmetrics deltatorate groupbyattrs groupbytrace redaction])
I used the following documentation:
https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/logstransformprocessor/README.md
https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/pkg/stanza/docs/operators/README.md
https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/pkg/stanza/docs/operators/json_parser.md
Is the config wrong?
Thanks for the help.
Collector version
0.88
Environment information
Environment
OTLP is running in a docker on a Debian 11 server.
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: