Multi-line with kubernetes source? #13080
-
Things like Go, when panicking, will print multiple lines out. Is there any way to add multi-line support to kubernetes? I see that it is available with the file source, but I don't see any settings within the k8s source that would allow multi-line |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 20 replies
-
Hi @danthegoodman1 ! We've actually been moving away from having multi-line support at the source level and instead suggesting users use the |
Beta Was this translation helpful? Give feedback.
-
Doesn't using reduce this early in the pipeline limit concurrency? I don't have scientific measurements but I was trying to use reduce for multiline coalescing in conjunction with the file source, in anticipation of eventually using the kubernetes source, and when I had a large backlog of files to process, the reduce appeared to cause a bottleneck that was drastically improved by using the native multiline features in the file source. |
Beta Was this translation helpful? Give feedback.
Hi @danthegoodman1 !
We've actually been moving away from having multi-line support at the source level and instead suggesting users use the
reduce
transform which can be used with any source to combine multi-line logs. That should work for you, but let us know if you have any issues!