How Can I Export Collected Data?
The export feature of the new edition only works with certain cloud services, while others still require the earlier edition. Future updates will extend this compatibility to all cloud services. This enhanced feature allows you to export more monitoring data. The console shows the maximum number of records available for export. After submitting an export task on the new export page, you can view the progress and download the file on the Task Center page.
Exporting Data (New Edition)
- Log in to the Cloud Eye console.
- In the navigation pane, choose Cloud Service Monitoring.
- Click a cloud service name to go to its Details page.
- On the Resources tab page, select the resource whose monitoring data you want to export and click Export Data.
- To export the monitoring data of an ECS or BMS, go to the server monitoring page.
- In the navigation pane, choose Server Monitoring > Elastic Cloud Server (or Bare Metal Server).
- Above the server list, choose Export > Export Data. Figure 1 Exporting data
The Export Data dialog box of the new edition is displayed by default. To return to the earlier version, click Earlier Edition. In the earlier edition, the data export task is not displayed in the task center. Data can be directly downloaded on the current page.Figure 2 Exporting data (earlier version)
- In the Export Data dialog box, configure parameters.
Table 1 Parameters for exporting data Parameter
Description
Task Name
Name of the task for exporting monitoring data. The value can contain 1 to 32 characters, including only letters, digits, underscores (_), and hyphens (-).
Statistic
Monitoring data statistics method, which can be Aggregated data or Raw data.
- Aggregated data: The aggregated maximum value, minimum value, average value, or sum value can be exported.
- Raw data: The raw data is exported.
Time Range
Select the time range of the monitoring data to be exported.
- Aggregated data from the last 90 days can be exported.
- Raw data from the last 48 hours can be exported.
Aggregated By
Aggregation interval of aggregated data. This parameter is mandatory when Statistic is set to Aggregated data. You can select Custom range, Week, Day, or Hour.
If you select Custom range, data aggregated during your configured time range will be exported. If you select one of the other options, data will be aggregated based on your selected granularity and then exported.
Metrics
Select the resource and metrics for exporting data.
- Cloud Product: The selected cloud service and dimension are used by default.
- Resource Scope: You can select All resources, Resource group, Enterprise project, or Specified resource. If you select Resource groups or Enterprise projects for Resource Scope, the metrics you select later must be included in the enterprise project or resource group. Otherwise, the exported monitoring data will be empty.
- Metrics: Specify the metrics to be exported.
- After the configuration is complete, click Export.
Choose Task Center. On the Monitoring Data Export tab, view and download the task.
- In the navigation pane, choose Task Center.
- On the Monitoring Data Export tab page, view or delete export tasks, or download their export results.
- Filtering export tasks: In the search box above the list, filter export tasks by task name, resource type, statistical method, time range, status, or creation time.
- Viewing details of multiple export tasks in batches: Select multiple export tasks from the list and click the small arrow in the bottom-right corner to view the monitoring details of multiple events in batches.
- Downloading the export results: Locate the target export task and click Download in the Operation column.
- Deleting one or more export tasks:
- Locate an export task and click Delete in the Operation column to delete it.
- Select desired export tasks and click Delete above the list to delete them in batches. Figure 3 Viewing the monitoring data export task
Exporting Data (Earlier Edition)
- Log in to the Cloud Eye console.
- In the navigation pane, choose Cloud Service Monitoring.
- Click a cloud service name to go to its Details page.
- On the Resources tab page, select the resource whose monitoring data you want to export and click Export Data.
- Configure the time range, period, resource type, dimension, monitored object, and metric.
- Click Export. The system automatically downloads the exported file.
You can export data for multiple metrics at a time to a CSV file.
- The first row in the exported file displays the username, region, service, instance name, instance ID, metric name, metric data, time, and timestamp. You can view historical monitoring data.
- To convert the time using a Unix timestamp to the time of the target time zone, perform the following steps:
- Use Excel to open a CSV file.
- Use the following formula to convert the time:
Target time = [Unix timestamp/1000 + (Target time zone) x 3600]/86400 + 70 x 365 + 19
- Set the cell format to Date.
Assume that you need to convert a Unix timestamp of 1475918112000 to Shanghai time (UTC+8). Calculate the Shanghai time as follows: [1475918112000/1000 + (+8) x 3600]/86400 + 70 x 365 + 19. Then, select a presentation format such as 2016/03/14 13:30, and the target time calculated will be presented as 2016/10/08 17:15.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot