On Wednesday, March 29, 2017 at 4:48:14 AM UTC-5, Vinoth Narasimhan wrote:
> We are running kubernets in GKE and using stackDriver for logging and
> mointoring.
>
>
> My log format as below.
>
>
> [2017-03-29T06:30:11.011Z] [CTIConnection$ProcessIncomingPacketTask]
> [Conn-3-InPackProcessPool-50] [600] [INFO ] Error executing request - ID: 45
> SessionID:
> Connection failed....
> some error....
> ...
> ...
> ...
> ...
> ...
> ...
>
>
> <Fluentd process those logs and send to stackdriver as each line as a
> separate messages. Instead is there a way to append all those stacktrace as a
> single message and send to stackdriver>
>
>
> [2017-03-29T06:30:11.011Z] [CTIConnection$ProcessIncomingPacketTask]
> [Conn-3-InPackProcessPool-50] [600] [ERROR] ID: 46
Can you use a multiline format?
<source>
type tail
format multiline
multiline_flush_interval 5s
format_firstline /^[\w+]]/
...
</source>
--
You received this message because you are subscribed to the Google Groups
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.