You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using the otlphttpexporter to export JSON data and consume it in Logstash. However, each exported dataset includes an additional log entry outside the JSON structure, which causes JsonParse errors in Logstash.
Is there a way to exclude the following line from the export, or must it be handled explicitly?
Steps to reproduce
Use otlphttpexporter with encoding: json.
Observe the additional log line in the output, alongside the JSON data.
Describe the bug
I am using the otlphttpexporter to export JSON data and consume it in Logstash. However, each exported dataset includes an additional log entry outside the JSON structure, which causes
JsonParse
errors in Logstash.Is there a way to exclude the following line from the export, or must it be handled explicitly?
Steps to reproduce
otlphttpexporter
withencoding: json
.What did you expect to see?
The last line
10.20.30.40 - - [06/Sep/2024 14:56:04] "POST / HTTP/1.1" 200 -
should not appear alongside the JSON data.What did you see instead?
A malformed JSON containing an additional log line outside the valid JSON structure.
What version did you use?
v0.108.1
What config did you use?
Environment
Ubuntu 20.04
OpenTelemetry Collector: v0.108.1
Additional context
The additional line appears to be a log entry from the HTTP server.
The text was updated successfully, but these errors were encountered: