You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/23 08:18:20 UTC

[GitHub] [airflow] mini1989cloud commented on issue #14667: Cloudwatch parsing fails for log groups containing slashes

mini1989cloud commented on issue #14667:
URL: https://github.com/apache/airflow/issues/14667#issuecomment-804709424


   When I try to enable remote logging in airflow, it fails with following message
   Could not read remote logs from Cloudwatch log_group: <group name> log_stream: xxxx/xxx/<timestamp>/1.log.
   
   I have created a connection with "connection type" AWS, and its credentials in "Extra" field (Created a user for this).
   
   In airflow.cfg file, my entries are :-
   remote_logging = True
   remote_log_conn_id = <Connection name from airflow UI>
   remote_base_log_folder = cloudwatch://arn:aws:logs:<region name>:<account id>:log-group:airflow-task-log
   
   Am I missing something with this configuration?
   I have created log-group before running the DAG, it is showing same error. 


-- 
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:
users@infra.apache.org