Rpj
Rpj

Reputation: 6080

How to view application specific logs while running services using docker-compose

How to view application specific logs while running services using docker-compose, without getting into each of the containers. We have microservices running in Rails, Python, Java in a single docker-compose environment. What would be a cost effective open source solution which we can use for monitoring + searching logs by the Operations team. We would want to avoid Elasticsearch for this as we don't have a big budget, appreciate your inputs

Upvotes: 0

Views: 87

Answers (2)

tomr
tomr

Reputation: 563

As well as the Free license mentioned in the other answer, most Elastic tools are available in apache-licensed OSS versions.

Beats agents mostly support autodiscovery in docker and docker-compose, making them really easy to use on an ongoing basis, even with short-lived containers.

It would help if you specify whether the budget constraints are around a) licensing costs, b) time and effort for your Operations team, or c) something else.

Upvotes: 0

codeaprendiz
codeaprendiz

Reputation: 3195

Elastic search provides free tier as well. ELK - subscriptions. You can use BASIC - FREE AND OPEN

You can use easily set up logging infrastructure using

ELK - Elastic Search, Logstash, Kibana

filebeat - Log shipper for docker containers - filebeat

metricbeat - metricbeat for docker - containers

The infrastructure would scale irrespective of how many containers you have.

You can check out some basic monitoring and logging examples here - link

Upvotes: 1

Related Questions