Elasticbeanstalk nohup logs

0

We utilise ebextension to reroute nohup logs. The existing Elasticbeanstalk Application is located in us-east-2. However, by default, the log group formed through this ebextension is created in us-east-1.

My goal is to change this default action, so that the log group will be created in us-east-2 instead.

This is what a section of the log group appears like in the configuration file:

files: "/etc/awslogs/config/nohup.out.conf": mode: "000644" content: | [/var/log/test/nohup.out] log_group_name=/aws/elasticbeanstalk/{"Ref": "AWSEBEnvironmentName"}/nohup.out log_stream_name={instance_id} file=/var/log/test/nohup.out

I attempted to input region=us-east-2, but there were no alterations.

is the awslogs config or awscli config files, support changing the region. ??

질문됨 6달 전95회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠