All Products
Search
Document Center

Simple Log Service:Tair (Redis OSS-Compatible) logs

Last Updated:Dec 23, 2024

Simple Log Service (SLS) and Tair (Redis OSS-compatible) jointly launch the log audit feature that allows you to collect audit logs, slow query logs, and operational logs to Simple Log Service. You can use the feature to query, visualize, analyze, ship, and consume logs. You can also configure alerts for the logs. This topic describes the assets, billing, and limits of the log audit feature.

Assets

  • Dedicated project and Logstores

    After you enable the log audit feature, Simple Log Service creates a project named nosql-Alibaba Cloud account ID-Region ID and dedicated Logstores named redis_audit_log_standard and redis_slow_run_log by default.

    • The redis_audit_log_standard Logstore is a paid service, which is used to store the audit logs of Tair (Redis OSS-compatible).

    • The redis_slow_run_log Logstore is currently free, which is used to store the slow query logs and operational logs of Tair (Redis OSS-compatible).

    Important

    If you have enabled the pay-by-ingested-data billing mode, Simple Log Service creates a dedicated Logstore that uses the pay-by-ingested-data billing mode by default. If you want to switch the billing mode from pay-by-ingested-data to pay-by-feature, you can modify the configuration of the Logstore. For more information, see Modify the configurations of a Logstore.

  • Dedicated dashboards

    Note

    We recommend that you do not make changes to the dedicated dashboards because the dashboards may be upgraded or updated at any time. You can create a custom dashboard to visualize query results. For more information, see Create a dashboard.

    • After you enable the log audit feature, Simple Log Service generates a dashboard for the redis_audit_log Logstore by default.

      Dashboard

      Description

      Redis Audit Center

      Shows the statistics of the audit logs of Tair (Redis OSS-compatible). The information displayed on the dashboard includes the number of users, clients, and audit log entries, average response time (RT), and average queries per second (QPS).

    • After you enable the log audit feature, Simple Log Service generates a dashboard for the redis_slow_run_log Logstore by default.

      Dashboard

      Description

      Redis Slow Log Center

      Shows the statistics of the slow query logs of Tair (Redis OSS-compatible). The information displayed on the dashboard includes the number of users, clients, and audit log entries, average RT, and average QPS.

Billing

  • You are charged for the log audit feature based on the log retention period and log storage. The fees vary by region. For more information, see Billable items.

    You are not charged when you write, store, or query slow query logs and operational logs.

  • If a dedicated Logstore uses the pay-by-feature billing mode, you are charged for data transformation and data shipping when you transform or ship logs after the logs are collected from Tair (Redis OSS-compatible) to Simple Log Service. In addition, you are charged for read traffic over the Internet when you read logs in stream mode. The fees are included in the bills of Simple Log Service. For more information, see Billable items of pay-by-feature.

  • If a dedicated Logstore uses the pay-by-ingested-data billing mode, you are charged only for read traffic over the Internet. The fees are included in the bills of Simple Log Service. For more information, see Billable items of pay-by-ingested-data.

Limits

  • You can write only the logs of Tair (Redis OSS-compatible) to a dedicated Logstore. You cannot modify the attributes of a dedicated Logstore. In addition, you cannot modify or delete the indexes of a dedicated Logstore.

  • You cannot change the log retention period of a dedicated Logstore by using the Simple Log Service console, Simple Log Service API, or Simple Log Service SDK. You can change the log retention period of a dedicated Logstore in the Tair (Redis OSS-compatible) console.

  • If you have overdue payments for your Simple Log Service resources, the log analysis feature is automatically stopped. To ensure business continuity, you must pay your overdue payment within the prescribed time limit.

  • The log audit feature is available for only Tair (Redis OSS-compatible) instances whose version is Redis 4.0 or later and minor version is the latest. The editions of Tair (Redis OSS-compatible) include Community Edition and Enhanced Edition.