Updated on 2023-07-19 GMT+08:00

Billing Cases

This section describes LTS billing cases.

If the billing amount is not a whole number, round the number to the nearest two decimal places. For example, if the estimated price is less than $0.01 USD after rounding off, $0.01 USD will be displayed.

Case 1: Free of Charge

Assume that you have a server generating 10 MB raw logs every day, full-text index is enabled, and logs are retained for seven days (the earliest logs are deleted first).

You want to analyze daily logs using LTS for one month. Billing details are shown in the following table.

Table 1 Billing details (free of charge)

Item

Description

Monthly Usage

Monthly Billing

Read/Write traffic

Daily read/write traffic: 10/5 (compression rate) = 2 MB. Accumulated read and write traffic for 30 days: 30 x 2 = 60 MB.

60 MB

Free

Index traffic

Accumulated index traffic for 30 days: 10 x 30 = 300 MB

300 MB

Free

Storage

Log volume = 7 x 10 MB

70 MB

Free

Case 2: Full-Text Index

Assume that you have a server generating 100 GB raw logs every day, full-text index is enabled, and logs are retained for 30 days (the earliest logs are deleted first).

You want to analyze daily logs using LTS for one month. Billing details are shown in the following table.

Table 2 Billing details (full-text index)

Item

Description

Monthly Usage

Unit Price

Monthly Billing

Read/Write traffic

Daily read and write traffic: 100 GB/5 (compression rate) = 20 GB. Accumulated read and write traffic for 30 days: 20 GB x 30 = 600 GB.

600 GB

$0.05 USD/GB

(600 GB – 500 MB/1024) x 0.05 = $29.98 USD

Index traffic

100 GB x 30 = 3000 GB

3000 GB

$0.08 USD/GB

(3000 GB – 500 MB free quota/1024) x 0.08 = $239.96 USD

Storage

Log volume = 100 GB/day x 30 days = 3000 GB

3000 GB

$0.000125 USD/GB-hour

(3000 GB – 500 MB free quota/1024) x 0.00125 x 24 hours x 30 days = $269.96 USD

Case 3: Disabling the Full-Text Index and Enabling the Index Field

Assume that you have a server generating 100 GB raw logs every day, full-text index is disabled, logs are written to the log service, and the index for five fields is enabled. The data volume is 50 GB.

Logs are retained for 30 days (the earliest logs are deleted first).

You want to analyze daily logs using LTS for one month. Billing details are shown in the following table.

Table 3 Billing details (disabling the full-text index and enabling the index field)

Item

Description

Monthly Usage

Unit Price

Monthly Billing

Read/Write traffic

Daily read and write traffic: 100 GB/5 (compression rate) = 20 GB. Accumulated read and write traffic for 30 days: 20 GB x 30 = 600 GB.

600 GB

$0.05 USD/GB

(600 GB – 500 MB/1024) x 0.05 = $29.98 USD

Index traffic

50 GB x 30 = 1500 GB

1500 GB

$0.08 USD/GB

(1500 GB – 500 MB free quota/1024) x 0.08 = $119.96 USD

Storage

Log volume = 100 GB/day x 30 days = 3000 GB

3000 GB

$0.000125 USD/GB-hour

(3000 GB – 500 MB free quota/1024) x 0.00125 x 24 hours x 30 days = $269.96 USD