george,

can you explain the scenario that is impacting you currently? e.g. reading a java stack trace? the app index is shown in the log line. when using the loggregator websocket client to retrieve logs you should also get the application id. perhaps that is enough to correlate whatever UI you have on top of logstash?


On Tue, May 12, 2015 at 7:40 AM, Li, George <guangxing.li@pearson.com> wrote:
Hi,

this is a follow up on the archived posting https://groups.google.com/a/cloudfoundry.org/forum/?utm_medium=email&utm_source=footer#!msg/vcap-dev/B1W6_vO0oyo/84X1eAtFsKoJ. I cannot find any new postings on that thread.
I am using Cloud Foundry version "6.11.2-2a26d55-2015-04-27T21:11:44+00:00" and want to know what options I have to handle multiple line logs in a multi-tenant environment. Since multiple instances of multiple applications are all sending logs to a single Logstash server, is it best to avoid having multiple lines in my log? I can live with sticking to single line logs except for outputting exception stack trace, not to mention that I only have control over my code. 

Thanks.

_______________________________________________
cf-dev mailing list
cf-dev@lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev




--
Thank you,

James Bayer