Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Log Tank Service/ Billing/ Cost Management/ Collecting Statistics on LTS Expenses of Different Departments Based on Log Stream Tags

Collecting Statistics on LTS Expenses of Different Departments Based on Log Stream Tags

Updated on 2025-02-08 GMT+08:00

To collect statistics on the LTS expenses of different departments in an enterprise, you can add tags to LTS log streams to distinguish business departments. LTS will add these tags to CDRs sent to the Billing Center. You can download LTS billing details by navigating to Billing Center > Billing > Expenditure Details. Then, you can use resource tags to aggregate and analyze expenses of different departments, providing a basis for enterprise expense allocation.

Prerequisites

The function of reporting CDRs by log stream is available only to whitelist users. To use log stream tags to aggregate and analyze departmental expenses in LTS, submit a service ticket.

Solution

Log streams are managed in log groups. When you add a tag to a log group, Apply to Log Stream is enabled by default to automatically add the tag to streams in this group. This feature allows you to differentiate LTS expenses by department.

This practice uses departments aa and bb as examples. First, add the group=groupaa tag to department aa's log group and the group=groupbb tag to department bb's log group. Then, export bills from the Billing Center and perform statistical analysis with Excel.

The prices mentioned in the following are only for reference. The actual prices are subject to those in Price Calculator.

Collecting Statistics on LTS Expenses of Different Departments Based on Log Stream Tags

  1. Log in to the LTS console.
  2. Move the cursor to the Tags column of the log group created for department aa and click .
  3. In the displayed dialog box, click Add Tags, enter key group and value groupaa, retain the default setting (enabled) of Apply to Log Stream, and click OK.

    Figure 1 Adding a tag for department aa

  4. Move the cursor to the Tags column of the log group created for department bb and click .
  5. In the displayed dialog box, click Add Tags, enter key group and value groupbb, retain the default setting (enabled) of Apply to Log Stream, and click OK.

    Figure 2 Adding a tag for department bb

  6. After the tags are added, wait for about one hour for CDRs to be generated.
  7. On the top menu bar, choose More > Billing > Bills. The Dashboard page is displayed.
  8. Choose Expenditure Details in the navigation pane, select Usage, set Data Period to Details, and select Service Type: Log Tank Service LTS in the filter box. For details, see Bill Details.
  9. Click Export. On the displayed page, set a custom export scope and export the expenditure details to the local PC. For details, see Exporting Bills.
  10. In the exported Excel file, filter tags in the Resource Tag column to view the expenditure details of departments aa and bb.

    The actual prices are subject to those in Price Calculator.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback