title: How to log into single stream with awslogs driver
body: <p>I am using AWS ECS and using aws log driver for centralized logging.
  Below is the snippet of my log configuration. </p>
  
  <pre><code>"logConfiguration": {
                  "logDriver": "awslogs",
                  "options": {
                      "awslogs-group": "app-test",
                      "awslogs-region": "us-west-2",
                      "awslogs-stream-prefix": "spring-boot-app"
                  }
              }
  </code></pre>
  
  <p>I have multiple instances of the service, hence multiple tasks. Logs are getting logged into cloudwatch but unexpectedly multiple streams are getting created (one per task id). </p>
  
  <p><a href="https://i.stack.imgur.com/0FzVd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0FzVd.png" alt="enter image description here"></a></p>
  
  <p>Is there a way to configure aws log driver so that all the logs of single service would be logged into the single stream instead of them being spread across multiple streams?  </p>