Get server and container information from logs

I have one development server where I have 5 application containers and 2 containers each running APM-server and heartbeat. We are able to get all the logs and application data. We have another staging server where we wish to fetch all the logs and data just like from our development server. How should I configure such that I get detailed logs in my elastic cloud where the structure of logs include the server_name.contianer_name which will help us to identify each logs with server and container.

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