Replies: 3 comments 1 reply
-
This is just a guess but if you set up the cost feature in December, there was a bug in our documentation at the time that has been fixed. The fix for step ten on the cost setup page (https://docs.aws.amazon.com/solutions/latest/workload-discovery-on-aws/set-up-the-cost-feature.html) was this
Can you verify that the report prefix you used says |
Beta Was this translation helpful? Give feedback.
-
The situation has changed a bit but the error still remains. I repeated the steps in the above mentioned page to create the AWS Cost and Usage Report in the deployment account. I made sure that the report prefix reads "aws-perspective". Still, Workload Discovery shows no accumulated cost for service SageMaker in July 2024 although the Cost and Billing report does. You will also see that the Athena query reports an error saying COLUMN_NOT_FOUND. It appears that the query does not match the schema of the queried Athena database table as it reads:
Please find attached the screenshots and and Excel workbook with the S3 bucket content used by Workload Discovery. |
Beta Was this translation helpful? Give feedback.
-
I'm sorry but I can't reproduce this. I copy and pasted that query you supplied into a test system and ran it in Athena and got no errors. The On my system it exists in the Athena DB: In the error message it says |
Beta Was this translation helpful? Give feedback.
-
I am missing the cost information both in the UI of Workload Discovery and in the diagrams of Graph Explorer. I made sure that the cost feature is working in my account; I set it up myself last December. The S3 buckets carrying the exported cost and usage reports as well as the crawler results are all in place and contain data. So I checked the Athena queries processing the cost information in the crawler results and found this error message:
In fact, the column 'product_servicename' is not being exported with the AWS cost report. You can see this from the attached manifest describing the export schema.
How can I fix this issue? I set up Workload Discovery last December. Has it been fixed meanwhile in the current software version?
workload-discovery-cost-and-usage-511133000301-Manifest.json
Beta Was this translation helpful? Give feedback.
All reactions