Kuv yuav tsim AWS stream log li cas?
Kuv yuav tsim AWS stream log li cas?

Video: Kuv yuav tsim AWS stream log li cas?

Video: Kuv yuav tsim AWS stream log li cas?
Video: tos kuv muaj nyiaj mam tuaj tham koj tub huas xyooj 2024, Hlis ntuj nqeg
Anonim

Tsim a pawg . Log nyob rau hauv koj lub CloudWatch console ntawm aws .amazon.com/cloudwatch/

Txheej txheem

  1. Xaiv Cov log los ntawm lub pane navigation.
  2. Nyem Action> Tsim Log Group .
  3. Sau koj lub npe pawg . Piv txwv li, ntaus GuardDutyLogGroup.
  4. Nyem Tsim Log Group .

Qhov yooj yim li ntawd, log kwj hauv AWS yog dab tsi?

A log kwj yog ib ntus ntawm log xwm txheej uas qhia tib qhov chaw. Txhua qhov chaw sib cais ntawm cov ntaub ntawv hauv CloudWatch Cov log ua kom sib cais log kwj.

Ib yam li ntawd, kuv yuav xa cov ntawv thov rau AWS CloudWatch li cas? Ua raws li cov kauj ruam no:

  1. Qhib CloudWatch Logs nyob rau hauv Management Console.
  2. Tsim ib pawg log npe docker-logs.
  3. Mus rau IAM thiab tsim lub luag haujlwm rau kev siv nrog EC2 lub npe docker-logs thiab txuas rau CloudWatchLogsFullAccess txoj cai.
  4. Tua tawm EC2 Instance raws li Amazon Linux AMI 2017.03.
  5. Nkag mus rau hauv EC2 Instance ntawm SSH.

Qhov thib ob, CloudWatch cov ntawv khaws cia ntev npaum li cas?

Kev ncua kev khaws cia ntawm kev ntsuas tau pib rau lub Kaum Ib Hlis 1, 2016, thiab tau qhib kev khaws cia ntawm txhua qhov kev ntsuas rau cov neeg siv khoom los ntawm 14 hnub dhau los mus rau 15 lub hlis. CloudWatch khaws cov ntaub ntawv ntsuas raws li hauv qab no: Cov ntaub ntawv cov ntsiab lus nrog lub sijhawm tsawg dua 60 vib nas this muaj nyob rau 3 teev.

Lub log ntws yog dab tsi?

A log kwj yog ib daim ntawv thov tshwj xeeb sau cov ntaub ntawv uas yog siv raws li ib tug log . A log kwj tuaj yeem siv rau cov hom phiaj xws li kev lag luam log , a log rau rov tsim databases, ib tug rov qab log , los yog lwm yam cov ntaub ntawv xav tau los ntawm kev siv.

Pom zoo: