AWS clients are on the lookout for an environment friendly monitoring methodology of assist circumstances raised with AWS Assist throughout their a number of interconnected accounts. Having a unified view lets the cloud operations crew derive actionable insights throughout the assist circumstances raised by completely different enterprise models and accounts. This helps be sure that the crew has a complete understanding of the state of current assist circumstances and might shortly establish and work with groups to resolve them. The crew also can prioritize their responses primarily based on the severity of impression of the problems and take motion on circumstances that want acknowledgement or further data. AWS Techniques Supervisor is the operations hub to your AWS functions and sources and a safe end-to-end administration resolution for hybrid cloud environments that allows safe operations at scale. AWS Techniques Supervisor Explorer gives a abstract of assist circumstances throughout your AWS accounts that will help you get higher visibility into the operational well being of your AWS atmosphere.
This put up describes how Amazon QuickSight dashboards may help you visualize your assist circumstances in a single pane of glass utilizing knowledge extracts from Techniques Supervisor. QuickSight meets various analytic wants from the identical supply of reality via trendy interactive dashboards, paginated studies, embedded analytics, and pure language queries.
Answer overview
The next structure diagram illustrates using Techniques Supervisor to offer a abstract of assist circumstances throughout your AWS accounts. The answer automates the gathering course of utilizing a Techniques Supervisor Automation doc, scheduling automations inside a upkeep window. When the Techniques Supervisor configuration is completed, the automation extracts the all assist circumstances throughout the group and creates a CSV file in an Amazon Easy Storage Service (Amazon S3) bucket. From the S3 bucket, we combine with Amazon Athena to create a desk, and lastly we visualize all assist circumstances in QuickSight. Notice that for aggregating knowledge throughout a number of accounts, they need to reside inside a single AWS Group. Implementing the answer requires the next steps:
- Arrange a Techniques Supervisor upkeep window.
- Register an automation activity within the upkeep window.
- Create a database within the AWS Glue Knowledge Catalog.
- Create a customized classifier for an AWS Glue crawler.
- Create and run an AWS Glue crawler.
- Create views in Athena.
- Visualize AWS assist circumstances in QuickSight.

Stipulations
Earlier than you get began, full the next stipulations:
- Have a Enterprise or Enterprise assist plan to your AWS accounts.
- Allow and arrange Athena.
- Allow QuickSight in your knowledge assortment account. For directions, confer with Establishing for Amazon QuickSight.
- Create an S3 bucket the place Techniques Supervisor Automation will export assist circumstances.
- Observe the steps in Centralized view of assist circumstances opened from a number of AWS accounts utilizing AWS Techniques Supervisor to ascertain Techniques Supervisor Explorer and create a useful resource knowledge sync for knowledge aggregation.
- Create an Amazon Easy Notification Service (SNS) matter. Use the next command to create an SNS matter named
SSM-supportcases-notificationand subscribe an e-mail tackle:
It’s best to see the next output:
For extra data, confer with Creating an Amazon SNS matter.
- Have an AWS Id and Entry Supervisor (IAM) Techniques Supervisor Explorer Exporting OpsData function. The function
AmazonSSMExplorerExportpermits Explorer to export OpsData to a CSV file. For extra data, confer with Exporting OpsData from Techniques Supervisor Explorer. - Have Techniques Supervisor permissions for upkeep home windows. For extra data, confer with Use the console to configure permissions for upkeep home windows.
After you could have all of the stipulations in place, comply with the step-by-step directions in the remainder of this put up.
Arrange a Techniques Supervisor upkeep window
Upkeep home windows, a functionality of Techniques Supervisor, provide help to outline a schedule for AWS assist circumstances to extract at a predefined schedule. For directions on making a upkeep window, see Create a upkeep window (console).
Register an automation activity with a upkeep window
On this step, you add a activity to a upkeep window. Duties are the actions carried out when a upkeep window runs. For directions on registering an automation activity to a upkeep window, see Schedule automations with upkeep home windows.
- Present a reputation for the upkeep activity and select the automation doc
AWS-ExportOpsDataToS3

2. Enter the next particulars within the Enter parameters part.
| Variable | Description | Worth |
assumeRole |
(Required) The function ARN to imagine throughout the automation run | The function you created as a prerequisite |
filters |
(Optionally available) Filters for the getOpsSummary request |
Depart clean |
syncName |
(Optionally available) The identify of the useful resource knowledge sync | The sync identify that you just created as a prerequisite |
resultAttribute |
(Optionally available) The consequence attribute for the getOpsSummary request |
AWS:SupportCenterCase |
columnFields |
(Optionally available) The column fields to write down to the output file | “DisplayId”,”SourceAccountId”,”Topic”,”Standing”,”ServiceCode”,”CategoryCode”,”SeverityCode”,”TimeCreated” |
s3BucketName |
(Required) The S3 bucket the place you wish to obtain the output file | The S3 bucket that you just created as a prerequisite |
snsTopicArn |
(Required) The SNS matter ARN to inform when the obtain is full | The ARN for the SNS matter that you just created as a prerequisite |
snsSuccessMessage |
(Optionally available) The message to ship when a doc is full | Depart clean |
columnFieldsWithType |
(Optionally available) The absolutely certified column fields to write down to the output file | Depart clean |
resultAttributeList |
(Optionally available) The a number of consequence attributes for the getOpsSummary request |
Depart clean |

- Select the IAM service function you created as a prerequisite.
- Select Register Automation activity.

After you efficiently register the duty, the automation will run, and you will notice CSV recordsdata getting created in your S3 bucket. In our use case, we set the speed expression as 1 day. Nonetheless, you need to use a lesser frequency corresponding to 1 hour and even 5 minutes to check the performance.
Create a database within the AWS Glue Knowledge Catalog
Earlier than you’ll be able to create an AWS Glue crawler, that you must create a database within the Knowledge Catalog, which is a container that holds tables. You utilize databases to arrange your tables into separate classes. In our use case, assist circumstances knowledge resides in an S3 bucket.
- On the AWS Glue console, create a brand new database.
- For Title, enter a reputation (for instance,
aws_support_cases). - Add an optionally available location and outline.
- Select Create database.
For extra details about AWS Glue databases, confer with Working with databases on the AWS Glue console.
Create a customized classifier
Crawlers invoke classifiers to deduce the schema of your knowledge. We have to create a customized classifier as a result of after we extract the assist circumstances, each column in a possible header parses as a string knowledge sort. When creating your classifier, select Has headings and add the next:
For extra data on classifiers, confer with Including classifiers to a crawler in AWS Glue.

Create an AWS Glue crawler
To create a crawler that reads recordsdata saved on Amazon S3, full the next steps:
- On the AWS Glue console, within the navigation pane, select Crawlers.
- On the Crawlers web page, select Add crawler.
- For Crawler identify, enter assist circumstances extract, then select Subsequent.
- For the crawler supply sort, select Knowledge shops, then select Subsequent.
Now let’s level the crawler to your knowledge.
- On the Add an information retailer web page, select the Amazon S3 knowledge retailer.
- For Crawl knowledge in, select Specified path on this account.
- For Embrace path, enter the trail the place the crawler can discover the assist circumstances knowledge, which is
s3://S3_BUCKET_PATH. After you enter the trail, the title of this area adjustments to Embrace path. - Select Subsequent.
The crawler additionally wants permissions to entry the information retailer and create objects within the Knowledge Catalog.
- To configure these permissions, select Create an IAM function. The IAM function identify begins with
AWSGlueServiceRole-; you enter the final a part of the function identify (for this put up, we enterCrawlercases). - Select Subsequent.
Crawlers create tables in your Knowledge Catalog. Tables are contained in a database within the Knowledge Catalog.
- Select Goal database and choose the database you created.
Now we create a schedule for the crawler.
- For Frequency, select Every day
- Select Subsequent.
- Confirm the alternatives you made. When you see any errors, you’ll be able to select Edit to return to earlier pages and make adjustments.
- After you could have reviewed the data, select End to create the crawler.
For extra data on creating an AWS Glue crawler, confer with Including an AWS Glue crawler.
Create views in Athena
After the AWS Glue crawler is configured efficiently, we question the information from the database and desk created by the crawler and create views in Athena. The information supply for the dashboard shall be an Athena view of your current support_cases database. We create a view in Athena with a bunch by situation.
Create the view case_summary_view by modifying the desk identify support_cases from the next code and run the question within the Athena question editor:
Visualize AWS assist circumstances in QuickSight
After we create the Athena view, we are able to create a dashboard in QuickSight. Earlier than connecting QuickSight to Athena, be sure that to grant QuickSight entry to Athena and the related S3 buckets in your account. For particulars, confer with Authorizing connections to Amazon Athena.
- On the QuickSight console, select Datasets within the navigation pane.
- Select New dataset.

- Select Athena as your knowledge supply.
- For Knowledge supply identify¸ enter
AWS_Support_Cases. - Select Create knowledge supply.

- For Database, select the
aws_support_casesdatabase, which incorporates the views you created (confer with the Athena console in case you are uncertain which of them to pick) - For Tables, choose the
case_summary_viewdesk that we created as a part of the steps in Athena. - Select Edit/Preview knowledge.

- Choose SPICE to alter your question mode.

Now you’ll be able to create the sheet aws_support_cases within the evaluation.
- Select Publish & Visualize.
- Choose the sheet sort that you really want (Interactive sheet or Paginated report). For this put up, we choose Interactive sheet.
- Select Add.

Seek advice from Beginning an evaluation in Amazon QuickSight for extra details about creating an evaluation.
- In Sheet 1 of the newly created evaluation, below Fields record, select
case_categoryandcase_status. - For Visible sorts, select a clustered bar combo chart.
Any such visible returns the rely of data by case class.
- So as to add extra visuals to the workspace, select Add, then Add visible.
Within the second visible, we create a donut chart with the sphere case_status to rely the variety of total circumstances.
- Subsequent, we create a phrase cloud to show how usually AWS assist circumstances have been raised by which AWS account.
The phrase cloud reveals the highest 100 accounts by default (in case you have knowledge for a couple of account) and shows the account with the utmost variety of entries in the next font measurement. When you needed to indicate simply the highest account, you would need to configure a high 1 filter.
- Subsequent, we create a stacked bar combo chart to show circumstances with service sort, utilizing the fields
case_created_on,caseid, andcase_service. - Subsequent, we create a desk visible to show all case particulars in desk format (choose all accessible fields).

The next screenshot reveals a visualization of all fields of assist circumstances in tabular format.
19. Alter the dimensions and place of the visuals to suit the format of your evaluation.

The next screenshot reveals our ultimate dashboard for assist circumstances.
You’ve now arrange a totally practical AWS assist circumstances dashboard at an organizational view. You may share the dashboard together with your cloud platform and operations groups. For extra data, confer with Sharing Amazon QuickSight dashboards.
Clear up
If you don’t want this dashboard anymore, full the next steps to delete the AWS sources you created to keep away from ongoing prices to your account:
- Delete the Amazon S3 Bucket
- Delete the SNS matter.
- Delete the IAM roles.
- Cancel your QuickSight subscription. It’s best to solely delete your QuickSight account should you explicitly set it as much as comply with this put up and are completely positive that it’s not being utilized by some other customers.
Conclusion
This put up outlined the steps and sources required to assemble a personalized analytics dashboard in QuickSight, empowering you to achieve complete visibility and helpful insights into assist circumstances generated throughout a number of accounts inside your group. To study extra about how QuickSight may help what you are promoting with dashboards, studies, and extra, go to Amazon QuickSight.
Concerning the authors
Yash Bindlish is a Enterprise Assist Supervisor at Amazon Internet Companies. He has greater than 17 years of trade expertise together with roles in cloud structure, techniques engineering, and infrastructure. He works with International Enterprise clients and assist them construct, scalable, trendy and price efficient options on their progress journey with AWS. He loves fixing complicated issues along with his solution-oriented strategy.
Shivani Reddy is a Technical Account Supervisor (TAM) at AWS with over 12 years of IT expertise. She has labored in a wide range of roles, together with software assist engineer, Linux techniques engineer, and administrator. In her present function, she works with world clients to assist them construct sustainable software program options. She loves the shopper administration side of her job and enjoys working with clients to unravel issues and discover options that meet their particular wants.
