Monitoring DataSync Through Logs
Log lร gรฌ?
Log lร cรกc sแปฑ kiแปn ฤฦฐแปฃc thu thแบญp tแบกi nhiแปu thแปi ฤiแปm khรกc nhau. Cรกc sแปฑ kiแปn nร y thฦฐแปng ฤฦฐแปฃc tแบกo ra bแปi cรกc application hoแบทc cรกc service vร chแปฉa ฤแบงy ฤแปง cรกc thรดng tin vแป ngแปฏ cแบฃnh tแบกi thแปi ฤiแปm sแปฑ kiแปn xแบฃy ra.
Tแบกi sao log lแบกi hแปฏu รญch?
Log lร mแปt yแบฟu tแป quan trแปng cแปงa an ninh mแบกng. Khi ฤฦฐแปฃc thแปฑc thi ฤรบng cรกch, ghi log cรณ thแป cung cแบฅp cho chรบng ta cรกi nhรฌn rรต rร ng vแป nhแปฏng gรฌ ฤang xแบฃy ra hoแบทc ฤรฃ xแบฃy ra trong hแป thแปng cแปงa chรบng ta, cho phรฉp chรบng ta chแปฉng thแปฑc cรกc sแปฑ kiแปn vแปi ฤแป chรญnh xรกc cao hฦกn vร thแปฑc hiแปn cรกc ฤiแปu chแปnh khi cแบงn thiแบฟt.
Giรกm sรกt DataSync thรดng qua DataSync log trรชn hแป thแปng vMonitor Platform
Giรกm sรกt DataSync thรดng qua log thแบญt dแป dร ng khi bแบกn sแปญ dแปฅng hแป thแปng vMonitor Platform. Hรฃy yรชn tรขm lร vMonitor Platform cลฉng lร mแปt sแบฃn phแบฉm thuแปc hแป sinh thรกi cแปงa VNG Cloud. Bแบกn cรณ thแป sแปญ dแปฅng vMonitor Platform ฤแป cแบฅu hรฌnh cรกc tรญnh nฤng giรกm sรกt dแปฑa trรชn logs cแปงa DataSync. Dฤฉ nhiรชn ฤแป cรณ thแป thแปฑc hiแปn giรกm sรกt ฤฦฐแปฃc thรฌ bแบกn cแบงn mua gรณi log quota cแปงa dแปch vแปฅ vMonitor Platform. Chi tiแบฟt bแบกn cรณ thแป tham khแบฃo tแบกi vMonitor Platform.
Nแปi dung logs ฤฦฐแปฃc ฤแบฉy vแป hแป thแปng gแปm cรกc thรดng tin nhฦฐ sau:
STT | Fields | ร nghฤฉa |
STT | Fields | ร nghฤฉa |
1 | @timestamp | Thแปi gian sแปฑ kiแปn bแบฏt ฤแบงu tฦฐฦกng tแปฑ nแปi dung field "time" |
2 | rootUserAccountID | Account ID cแปงa tร i khoแบฃn DataSync. |
3 | size | Kรญch cแปก file ฤฦฐแปฃc transfer, ฤฦกn vแป byte. |
4 | object | Tรชn file ฤฦฐแปฃc transfer. |
5 | sourceObject | |
6 | bucket | Tรชn bucket nguแปn. |
7 | region | Region nguแปn. |
8 | endpoint | Endpoint nguแปn. |
9 | labels | |
10 | taskid | Mรฃ Task ID: ฤฦฐแปฃc sinh ra trong mแปi chแบกy chแบกy mแปt Transfer Job. |
11 | jobid | Mรฃ Transfer Job ID: mรฃ transfer job id mร bแบกn tแบกo tแปซ DataSync Portal. |
12 | statusCode | Mรฃ trแบกng thรกi transfer thร nh cรดng hay thแบฅt bแบกi. |
13 | source | Mแบทc ฤแปnh "datasync/access_log". |
14 | level | Mแบทc ฤแปnh "info". |
15 | host | Mแบทc ฤแปnh "VNGCLOUD" |
16 | time |
|
17 | objectType | Mแบทc ฤแปnh "*s3.Object". |
18 | destinationObject | |
19 | bucket | Tรชn container ฤรญch nhแบญn dแปฏ liแปu trรชn vStorage. |
20 | region | Region nhแบญn dแปฏ liแปu |
Last updated