Troubleshooting AWS API ETL
This topic provides information about troubleshooting issues with the Amazon Web Services API ETL.
Collecting detailed activity logs (Log level = 10)
To include detailed activity logs in the ETL log file, perform the following steps:
- In the TrueSight Capacity Optimization console, navigate to Administration > ETL & system tasks > ETL tasks.
- Selected the configured AWS API Extractor ETL.
- In the Run configurations table, click to modify the ETL task.
- From the Edit run configuration page, click Advanced.
- Note down the current value of the Log level.
- Change the value to 10 - Verbose.
- Save the changes and run the ETL.
- After you run the ETL and the logs are collected, set the log level back to the earlier value to avoid filesystem space issues.
Common issues
Issue | Cause | Resolution |
---|---|---|
The CPU_NUM and TOTAL_REAL_MEM metrics are not reporting any values or are reporting old values. The ETL log displays the following message:
| The ETL has been configured to reference an old version of the aws-instance-type-conf.json file. This file needs to be updated. |
|
One or more performance metrics are not available for a Virtual Machine instance. | Verify the metric(s) are available in the Monitoring tab for the Virtual Machine instance in the AWS Console. |
|
Only a subset of metrics are collected for Virtual Machine instances. | The AWS ETL collects a basic set of metrics from the Amazon Elastic Compute Cloud (EC2) instances such as CPU Utilization, Network Byte Rate, and Disk Transfer Rate. | Configure the CloudWatch agent on the Virtual Machine instance tp collect the additional metrics. For details, see Collecting EC2 instance metrics using the CloudWatch agent. |
The ETL fails to collect data from AWS GovCloud. The ETL log displays the following messages:
| The property (Is target AWS Government Cloud?) in the AWS ETL to support AWS GovCloud is not enabled. | In the Amazon Web Services Connection section in the ETL, set the Is target AWS Government Cloud? property to Yes. For details, see Amazon Web Services - AWS API Extractor. |
The ETL run ends with a Warning status. The ETL log displays the following message:
| The default instance chunk size of 100 is insufficient for the size set in the AWS configuration (up to 1000). |
|
The ETL run ends with a Warning status. The ETL log displays the following message:
| The default volume chunk size of 100 is insufficient for the size set in the AWS configuration (up to 500). |
|
When you run the AWS API ETL to fetch resources data from multiple AWS accounts, the ETL fails with a session timeout error. This failure usually occurs after an hour, which is the default session timeout internal. The ETL log displays the following messages:
| This issue occurs when you have large number of instances provisioned in your AWS accounts or a slow network connection. | Configure the ETL to increase the session timeout value
Configure cross-account roles to increase the session duration
Always ensure that the session timeout value configured for the ETL is less than the session duration value configured in AWS for cross-account roles. |
Comments
Log in or register to comment.