Shipping logs from Central machine(Jenkins machine) to Elasticsearch

Hi,

We have Gatling Load test running on Containers and it generates logs on Container, as soon as done with Load test we will take a backup of logs into Central machine, once backup is done then Container will tear down automatically.

For every Load test we will create new folder on Central machine.
/home/user/build1/simultation.log
/home/user/build1/gatling.log
/home/user/build1/error.log

/home/user/build2/simultation.log
/home/user/build2/gatling.log
/home/user/build2/error.log

/home/user/build3/simultation.log
/home/user/build3/gatling.log
/home/user/build3/error.log

we want to collect logs from Central machine to Elasticsearch, could someone suggest me how to ship logs, Thanks.

Have you looked at filebeat?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.