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ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ