Hello everyone - can anyone help me get logs and stdout & stderr output from containers running under BalenaOS into a log shipper like logstash or logagent. I am using Sematext to collect and analyse logs from my application but would also like to gather information about the containers and host that are running these applications.
As a start it would be great to gather everything that is printed by the applications in the containers in the Balena Dashboard logs window. This output tends to show everything I need right now. I have been investigating with the
balena logs command but do not know how to install something that would push all logs out to a remote collection tool.
This will be used on a production system to monitor it for reliability and generate alerts when bad things happen. Sematext have a logagent docker that can ship the logs remotely, but how to get the logs to it?