Combining application/aop log and tomcat log

Hi,

I have a requirement to capture a single record/document in ES for each SSO hits we receive. I have a separate aop logging file (with user information/fields/timestamp) and also a separate tomcat log file (parseable by COMBINEDAPACHELOG pattern).

Is there any way I can combine both as a single document with information from both aop and tomcat logs and create a single record for each SSO hit with all information.

e.g, user1_03-07-2016-11.52.23 as id field in ES with all the information together

Thanks
Bharath

Have a look at the collate filter.