maxcountryman opened a new issue #14667: URL: https://github.com/apache/airflow/issues/14667
**Apache Airflow version**: 2.0.1 **Environment**: - **Cloud provider or hardware configuration**: AWS + ECS - **OS** (e.g. from /etc/os-release): Ubuntu - **Kernel** (e.g. `uname -a`): - **Install tools**: - **Others**: **What happened**: When enabling remote logging via Cloudwatch we have observed that you cannot use log groups with slashes in their name, e.g. "/foo/bar/baz" or a more practical example like "/ecs/your-app". This is in our experience a common convention in AWS and doesn't seem to be a documented limitation so we wonder if this is a bug. **What you expected to happen**: We believe that unless this is explicitly designed in this manner this is likely not behaving as desired. <!-- What do you think went wrong? --> **How to reproduce it**: Simply create a log group with forward slashes and you should observe the same effect. It's even easier to observe this in the REPL, for instance [here is the culprit](https://github.com/apache/airflow/blob/97b5e4cd6c001ec1a1597606f4e9f1c0fbea20d2/airflow/config_templates/airflow_local_settings.py#L192) in our code and in the REPL we can reproduce like so: ```python >>> urlparse('cloudwatch://arn:aws:logs:us-west-2:123:log-group:/ecs/my-app:*').netloc 'arn:aws:logs:us-west-2:123:log-group:' ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
