Monitoring and logging are essential for ensuring the availability of your File Storage NAS resources and maintaining the health and operation of your services. Alibaba Cloud provides a range of monitoring and log auditing services, such as CloudMonitor and Cloud Config, to help you monitor your resource usage and service status in real time and respond promptly to any alerts.
File system resource monitoring
You can monitor the performance and capacity of your file system instances in the File Storage NAS console. For more information about the available metrics, see Metrics.
Performance metrics
On the Performance Monitoring page, select a file system type and a target file system ID to view performance metrics, such as read/write IOPS, latency, and throughput.

Capacity metrics
On the Capacity Monitoring page, select a file system type and a target file system ID to view capacity metrics, such as storage usage, file count, and read/write traffic for the Infrequent Access (IA) storage class.

Health status monitoring
We recommend monitoring the health status of your cloud resources to identify and handle exceptions promptly. For more information, see the Alibaba Cloud Health Status home page.
On the Alibaba Cloud Health Status page, you can view the status of Alibaba Cloud services by region and check for exceptions. You can also find RSS subscription options for service status notifications.
In the product list, click the RSS icon next to a product name to subscribe to exception notifications for that product.
CloudMonitor
File Storage NAS is integrated with CloudMonitor, which you can use free of charge to monitor your cloud resources and Internet applications in real time. You can use CloudMonitor to track the operational status, resource usage, and service exceptions of your cloud products.
You can view monitoring data for your File Storage NAS resources in the File Storage NAS console or by using the CloudMonitor API. For more information, see Data monitoring.
-
View data in the CloudMonitor console
To monitor data for File Storage NAS file system instances, go to the Cloud Service Monitoring page in the CloudMonitor console and select to view performance and capacity metrics for your file system instances.
-
View data by using the CloudMonitor API
You can use the CloudMonitor API to monitor data for File Storage NAS file system instances by calling the DescribeMetricList API operation to view capacity metrics such as
AlignedSize,SecondaryAlignedSize, andFileCount, and performance metrics such asIopsRead,IopsWrite,LatencyRead, andLatencyWrite.
After you configure an alert rule for a metric in the CloudMonitor console, CloudMonitor automatically sends a notification if the metric meets the alert condition. This helps you promptly identify and address anomalies. For more information, see Configure a basic alert rule or Configure an advanced alert rule.
Auditing cloud resource operations
File Storage NAS is integrated with ActionTrail, which provides unified management of cloud resource operation logs. It records user logins and resource access operations within your cloud account to enable security analysis, intrusion detection, resource change tracking, and compliance auditing.
ActionTrail records access to and usage of cloud products and services through the Alibaba Cloud console, APIs, and developer tools. For a list of supported audit events for File Storage NAS, see Audit events for File Storage NAS.
By default, ActionTrail records events for the last 90 days. To retain logs for a longer period, create a trail to deliver events to Simple Log Service (SLS) or Object Storage Service (OSS). For more information, see Create a trail.
After you deliver events to SLS or OSS, you can query and analyze them in the respective consoles. For more information, see Query events in the Simple Log Service or OSS console.
To track historical events, submit a ticket to request the required permissions.
Simple Log Service (SLS)
File Storage NAS is integrated with Simple Log Service (SLS). On the Audit Logs page, you can enable the audit log feature to collect, process, and deliver log data, such as operational information, running status, and business activity. This enables real-time log monitoring and auditing. For information about how to enable this feature for File Storage NAS, see Enable the log analysis feature. The default retention period for log data is 30 days, but you can modify it as needed. For more information, see Modify Logstore configurations.
Query and analyze logs
When you perform operations on resources in a File Storage NAS file system, the system automatically collects audit logs and creates indexes. You can then query and analyze these logs in real time on the Simple Log Service query and analysis page. For more information, see Quick start for log query and analysis.