-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
syslog_parser with syslog exporter results in logs like 2023-08-09T06:34:49.490942+00:00 ip-10-82-103-213.ap-southeast-2.compute.internal %!d(<nil>) 2023-08-09T06:34:48Z %!s(<nil>) %!s(<nil>) %!s(<nil>) %!s(<nil>) - %!s(<nil>) #25114
Comments
Pinging code owners for exporter/syslog: @kkujawa-sumo @rnishtala-sumo @astencel-sumo. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
If you want to receive syslog logs, you can use I'm going to work on reproduction and fix for the bug, you mentioned in the title:
|
Also, Sumo Logic distribution doesn't use the upstreamed version yet: SumoLogic/sumologic-otel-collector#1200 so this issue should be created in https://github.com/sumologic/sumologic-kubernetes-collection or https://github.com/SumoLogic/sumologic-otel-collector/ |
Interesting...I didn't realise Sumologic has their own forked version of the collector. I actually ended up just completely changing my solution to using a "otlphttp" exporter, and then on the receiving side, I am using vector.dev as the receiver which offers a significant amount of flexibility and is lightning fast. Personally, happy for you to either close this issue, or fix it, but it likely won't impact me personally moving forward :) |
We developed syslog exporter and we started moving it to upstream. I'm working on finalizing this and going to fix this issue as well |
…defaults) (#27424) **Description:** - fix defaults - fix some typos - correctly handle data structures which are output of syslog receiver - allow to not use tls and disable it by default **Link to tracking Issue:** #25114 **Testing:** Unit tests **Documentation:** N/A --------- Signed-off-by: Dominik Rosiek <[email protected]>
It looks like #27424 fixed this issue, is that correct? If so we can go ahead and close it. |
@captainfalcon23 I would like to add documentation with examples and explanation, as it is not obvious how to prepare data to replace defaults, especially message content |
Pr with documentation: #27831 |
@sumo-drosiek Now that #27831 has been merged are we okay to close this, or are there more documentation items left? |
I'm good, we can close it 🎉 |
…defaults) (open-telemetry#27424) **Description:** - fix defaults - fix some typos - correctly handle data structures which are output of syslog receiver - allow to not use tls and disable it by default **Link to tracking Issue:** open-telemetry#25114 **Testing:** Unit tests **Documentation:** N/A --------- Signed-off-by: Dominik Rosiek <[email protected]>
Component(s)
No response
What happened?
Description
I am following the advice at:
All I want to do, is send a copy of all my logs, to a syslog endpoint. I am using the following config. I am a bit confused by the documentation how to properly configure the syslog_parser, where to configure it, and how to prevent it affecting my logs when going to sumologic.
Note also I am using the chart from https://github.com/SumoLogic/sumologic-kubernetes-collection for sending logs to sumologic, and using values.yml to add additional config:
This results in my syslog server receiving logs like this:
And I actually see an error in one of the pods like:
Expected Result
Logs are received with proper content,
Actual Result
As above.
Collector version
0.79.0
Environment information
Environment
Kubernetes running on AWS
OpenTelemetry Collector configuration
As above
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: