How the use the multiline in these situation?

There is logs:
2016-08-30 04:10:02,104[INFO] HttpRequest[191.1.3.81:33983:null]
2016-08-30 04:10:02,107[INFO] 用户[10253],执行[monitor]前状态为:1100000000 [com.cairh.xpe.context.user.interceptor.FlowEngineInterceptor.preHandle(FlowEngineInterceptor.java:185)]
2016-08-30 04:10:02,108[INFO] HttpResponse[191.1.3.81:33983:null]
2016-08-30 04:10:02,781[INFO] HttpRequest[191.1.3.81:33985:3D6436C30AFE371A901711F816A3502D]
2016-08-30 04:10:02,783[INFO] 用户[10574],执行[getPaginator]前状态为:1121111111 [com.cairh.xpe.context.user.interceptor.FlowEngineInterceptor.preHandle(FlowEngineInterceptor.java:185)]
2016-08-30 04:10:02,788[INFO] HttpRequest[191.1.3.81:33986:null]
2016-08-30 04:10:02,792[INFO] HttpResponse[191.1.3.81:33986:null]
2016-08-30 04:10:02,794[INFO] HttpResponse[191.1.3.81:33985:3D6436C30AFE371A901711F816A3502D]

Now i want to use the multiline to combine the log which have the HttpRequest and HttpResponse and keep the same port.For example:
2016-08-30 04:10:02,104[INFO] HttpRequest[191.1.3.81:33983:null] \n 2016-08-30 04:10:02,108[INFO] HttpResponse[191.1.3.81:33983:null]

2016-08-30 04:10:02,781[INFO] HttpRequest[191.1.3.81:33985:3D6436C30AFE371A901711F816A3502D] \n 2016-08-30 04:10:02,794[INFO] HttpResponse[191.1.3.81:33985:3D6436C30AFE371A901711F816A3502D]

It look difficult to combine these log,who can help me? Ths

This is basically the same question as the one you posed in How to use the multiline in for these logs. Let's keep things in one thread.

Thanks!