AWS SSM Inventory Reports for Running Instances Only

0

Hi

I receive reports only for running instances when exporting or querying reports. Currently, if you terminate a managed node that is set up to gather inventory data, Systems Manager will keep the inventory data for a period of 30 days before deleting it. When you download or query, it includes terminated instances as well.

There is one option of using this solution

https://repost.aws/questions/QUyfmZxqbfRXmWyteqHLnPgQ/terminated-instances-showing-up-in-ssm-get-inventory-cli

But if i want to get same reports using Athena . Is it possible

asked 16 days ago100 views
1 Answer
0

You should be able to query the report using Athena. Take a look at this knowledge article that talks about QuickSight integration. Toward the end of the article, it mentions a way to filter out data on terminated instances by joining multiple tables including aws_instanceinformation table.

https://repost.aws/knowledge-center/systems-manager-compliance-data-quicksight

profile pictureAWS
EXPERT
answered 16 days ago
profile picture
EXPERT
reviewed 16 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions