The Partition CDR Content

Table 1 DIS Partition CDR Record Content

Field

Location

Type

Description

Remarks

RecordType

1

String

Type of a record in a file.

Number of normal offline CDR records: 20

Number of corrected error offline CDR records: 30

TimeStamp

2

String

Time when an offline CDR record is generated.

UTC Format: YYYYMMDDHH24MISS

UserID

3

String

Unique ID of a subscriber.

The value is the same as the value of ProjectID.

RegionCode

4

String

ID of a region.

ID of a region.

AZCode

5

String

Code of an available zone.

The DIS is Region Service, The AZCode is set AZ01 by default.

CloudServiceTypeCode

6

String

Type of a cloud service.

Cloud service type corresponding to ResourceID. For example, cloudservicetype for VM in EC2 is recorded as otc.service.type.ec2, and cloudservicetype for VM in VDC is recorded as otc.service.type.vdc.

For DIS: the string is otc.service.type.dis

ResourceTypeCode

7

String

Type of a cloud resource.

Cloud resource type corresponding to ResourceID, such as VM.

ResourceType is a resource type specified by CloudServiceType, and CloudServiceType contains multiple sets of ResourceType. For example, EC2 is provided by VM, Volume, IP, and Image, and EC2 is a CloudServiceType, and VM, Volume, IP, and Image are ResourceType.

For DIS: the string is otc.resource.type.dis

ResourceSpecCode

8

String

Code of specified resource specifications.

There are two type resourcespeccode for DIS:

dis.general.partition

dis.advanced.partition

ResourceID

9

String

ID of a resource instance.

ID of the partition in the DIS stream instance.

The ID is different from partitions.

BSSParams

10

String

Extended operation parameter.

The contract ID of one tenant. The contract ID is the xdomain_id of user token.

BeginTime

11

String

Start time of the statistics period of a record.

UTC Format: YYYYMMDDHH24MISS

EndTime

12

String

End time of the statistics period of a record.

UTC Format: YYYYMMDDHH24MISS

Duration

13

String

Name of a specific accumulative factor.

Accumulative factor: Duration

Time

14

Double

Accumulative value of AccumulateFactorName.

Accumulative value of duration in the period ranging from BeginTime to EndTime multiply the number of partitions. The value is 0 or a positive number.

The time unit is hour.

ExtendParams

15

String

Extended field.

This field is not used in this CDR record, the value is empty.

ProductID

16

String

Product ID of this service

Product ID :

OTC_DIS_GEN_TIME

OTC_DIS_ADV_TIME

CET/CEST BeginTime

17

String

Start time of the statistics period of a record.

Server Local Time: YYYYMMDDHH24MISS

CET/CEST EndTime

18

String

End time of the statistics period of a record.

Server Local Time: YYYYMMDDHH24MISS

Tag

19

String

Extended field.

This field is not used in DIS service, the value is empty.

Example of Partition Duration CDR content:

20|20161013150423 | a21be352dfa7682dfa768dfa7682dfdf | eu-west-0 | | otc.service.type.dis | otc.resource.type.dispartition | dis.general.partition | 2cegee33-2173-4982-881c-7w8f27d23h54 |00000000001000003344 | 20161013130000 | 20161013135959 | Duration | 3600 | | OTC_DIS_GEN_TIME | 20161013140000 | 20161013145959|