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
Situation Awareness
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

Viewing Audit Logs of a DCS Redis Instance

Updated on 2024-12-16 GMT+08:00

Command audit logs on the DCS console record client operations on DCS. The storage, query, and analysis of audit logs are provided by Log Tank Service (LTS).

Currently, only Proxy Cluster DCS Redis 4.0 and later instances in the CN Beijing4 & Shanghai1–2 & Guangzhou regions support command audit logs.

If audit logs are still not displayed on the console, contact customer service to upgrade your proxies.

Enabling audit logging will create a log group, log stream, and dashboard in LTS. Fees are generated based on the log volume. For details, see LTS pricing details.

NOTICE:
  • Enabling audit logging will restart all proxy nodes. Ensure that the client can re-connect.

    Without capacity expansion or node migration since the last enabling, re-enabling audit logging will not restart proxy nodes.

  • Enabling audit logging may deteriorate DCS instance performance or cause some logs to be lost if the write traffic and QPS are too heavy.

Notes and Constraints

  • Ensure that you have permissions to create log groups and log streams in LTS.
  • Enable audit logging for new instances 10 minutes after they are successfully created.
  • Audit logging will be automatically disabled when you scale the instance or migrate nodes. To use this function, you need to enable it again.
  • After enabling audit logging, you can change the log retention period (one day by default) on the LTS console.

Viewing Audit Logs of a DCS Redis Instance

  1. Log in to the DCS console.
  2. Click in the upper left corner of the management console and select the region where your instance is located.
  3. In the navigation pane, choose Cache Manager.
  4. Click a DCS instance to go to the details page.
  5. Choose Logs > Audit Logs.
  6. Click Enable Audit Logging if required.
  7. The corresponding log group and log stream are created in LTS. Write commands are reported to LTS through the proxy nodes.
  8. View the audit logs, as shown in the following figure.

    Figure 1 Audit logs

More Operations

  • Disabling audit logging
    To disable the function, click Disable Audit Logging in the upper right corner. After the function is disabled, commands will not be recorded.
    NOTE:
    • If some logs are not yet reported by the time you disable audit logging, they continue to be reported.
    • After audit logging is disabled, the log group and log stream on LTS will be retained and will not generate fees.
    • You can manually delete log groups and log streams on the LTS console.
  • Changing the log retention period

    In the log group list of the LTS console, click Modify in the Operation column of the desired log group to change the log retention period.

    Figure 2 Modifying the log retention period or deleting a log group

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