Replies: 2 comments 1 reply
-
As a workaround, you could use the |
Beta Was this translation helpful? Give feedback.
-
Thanks for your feedback @jszwedko ! Yeah, I saw that, and it almost works, but per that documentation prefix/suffix are static strings, and I might need to parse additional metadata for resource attributes before I put logs to resourceLogs->scopeLogs, what might work is that I treat wrap everything in a top level and just have envelope for resourceLogs, and then repeat messages, and then parse everything inside as now, but return just a Another question is, will this mess up with deletion of unused stuff that I do with
? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am parsing syslog messages, parsing them to OTEL format, and then posting to OTEL http endpoint, and this works.
But, the caveat is that I had to set buffer size to 1, which is less than ideal.
This is my config file
So this works, but he problem is, that wen buffer has more than one message, it does http POST like this:
which is invalid format for OTEL http endpoint, it actually expects that all of the messages (if more than one) go to inside of
resourceLogs
/scopeLogs
array.Since I have no idea how big the buffer is, or how to do this, I had to force sink buffer size to 1. This if for local development, and in production it will go trough a different route, but still I might need this so for some different vector -> http operations.
Is this supported, or is there a better way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions