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