enable logstash in docker compose code example
Example 1: linux get docker compose logs
docker-compose logs -t -f --tail <no of lines>
Example 2: docker logs follow
docker logs --follow [container name]
docker-compose logs -t -f --tail <no of lines>
docker logs --follow [container name]