How to get QuickSight dashboard usage and access data to analyze metrics on the dashboard itself?

0

We require QuickSight dashboard usage and access data to analyze metrics on the dashboard itself and send out reports scheduled to send automatically via email.

Can anyone help us to get usage and access data from Quicksight and setup the dashboard usage and access summary?

  • You can collect all quicksight events via cloudtrail and save into S3. Once the data is written to S3, either custom program ( using python) or Athena can be used to filter quicksight events and understand the dashboard usage and summary. This is a custom solution followed by many organization. For filtering only specific region, you need to create trail via cli .

질문됨 일 년 전1032회 조회
1개 답변
1

I found a (Japanese) site that might answer your question. https://dev.classmethod.jp/articles/visualize-amazon-quicksight-api-logs-with-quicksight/

The steps are below:

  1. Enable CloudTrail
  2. QuickSight permission settings for Athena
  3. Create Athena Table
  • You can create a table from the CloudTrail console ( I used to run a query to create a table from the Athena console ).
  1. Create Dataset on QuickSight
SELECT
  date
  ,eventtime
  ,eventname
  ,useridentity.username AS username 
  ,json_extract_scalar( serviceeventdetails, '$.eventResponseDetails.dashboardDetails.dashboardName' ) AS dashboardName
  ,json_extract_scalar( serviceeventdetails, '$.eventResponseDetails.analysisDetails.analysisName' ) AS analysisName
FROM "logs"."cloudtrail_logs"
WHERE
  region = 'ap-northeast-1'
  AND eventsource = 'quicksight.amazonaws.com'
  AND eventname in ( 'GetDashboard','GetAnalysis')
;
  1. Create a graph
  • I have graphed the number of users by date as in the image below the number of users by date
profile picture
ARBR
답변함 일 년 전
profile picture
전문가
iwasa
검토됨 일 년 전
  • Good solution and we also followed the same but instead of Athena, we used our custom spark on EMR and developed this as we used EMR for our big data processing.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠