🧒
Sunbird ED
new release -7.0.0 (Jun 2024)Askdot
release-6.0.0
release-6.0.0
  • Learn
    • Overview
    • Capabilities
      • Learning Apps
      • Asset Sourcing
      • Organised Collections
      • Discover Content - Digital & Phygital
      • User Engagement
      • Rich and diverse content
      • Versatile Question Bank
      • Observability
      • Launch Course
      • Verifiable Credentials
      • Multi-Channel Chatbot
      • Targeted Programs
      • Manage Learn
        • Overview
        • What is an entity?
        • What is a Program?
        • What is a Project?
        • What is Observation?
        • What is a Survey?
        • What is Observation as a task inside a Project?
      • Product and Developer's Guide
        • Learning apps
          • Workflows
            • Onboarding of Users
            • Discovery of Content
            • Play content
            • Track progress and Earn credentials
            • Interacting / Collaborating
        • Asset Sourcing
        • Organised Collections
        • Discover Content - Digital & Phygital
        • User Engagement
        • Rich and Diverse Content
        • Versatile Question Bank
        • Observability
        • Launch Courses
        • Verifiable Credentials
        • Multi-Channel Chatbot
        • Targeted Programs
        • Manage Learn
          • Overview
          • Component Diagram
          • ML Core Service
          • ML Project Service
          • ML Survey Service
          • ML Report Service
          • ML Analytics Service
    • Tech Overview
      • Design Principles
      • Technical Architecture Diagram
      • Tech Stack
    • Adopters
      • DIKSHA
    • Roadmap
  • USE
    • Getting started
      • Deployment Overview
      • Pre-requisites
      • Install
        • Provision Cloud Infrastructure
        • Setup Jenkins
        • Update Ansible Variables
        • Build, Provision and Deploy
        • Functional Configurations
    • Latest Release - 6.0.1
      • Release notes
      • Updating Sunbird Releases
        • 5.2.0 to 6.0.1
      • Release Calendar 6.0.1
      • Demo of released items
    • Developer Guide
      • Architecture - Component Diagram
      • System Requirements
      • Install Locally
        • SunbirdED Mobile
        • SunbirdED Portal
      • Easy Installer
      • Configuration
        • SunbirdEd Portal
        • Sunbird Mobile
      • Portal
        • Component Diagram
      • Desktop
        • Component Diagram
      • Mobile
        • Component Diagram
        • sunbird-mobile-sdk
        • Sunbird-mobile-app plugins
        • Configurations to setup mobile app
      • Form service
        • Component Diagram
        • Data model
        • API's
      • Manage Learn
        • ML Core Service
          • Overview
          • User Flow Diagram
          • Component Diagram
          • Data Model
          • Folder Structure
          • API's
          • Deployment Overview
          • Local Service Setup Guide
        • ML Project Service
          • Overview
          • User Flow Diagram
          • Component Diagram
          • Data Model
          • Folder Structure
          • API's
          • Deployment Overview
          • Local Service Setup Guide
        • ML Survey Service
          • Overview
          • User Flow Diagram
          • Component Diagram
          • Data Model
          • Folder Structure
          • API's
          • Deployment Overview
          • Local Service Setup Guide
        • ML Report Service
          • Overview
          • User Flow Diagram
          • Component Diagram
          • Data Model
          • Folder Structure
          • API's
          • Deployment Overview
          • Local Service Setup Guide
        • ML Analytics Service
          • Overview
          • Component Diagram
          • Data Model
          • Setup Guide
            • ENV Variables ( Config.ini)
          • Ingestions
          • Folder Structure
          • Report creation and Updation Scripts
          • Deployment Overview
      • UI (User interface)
        • Angular Material
          • Overview
          • Installation
          • Material Icons
          • Components Usage
          • Theming
          • Theme Setup
          • Customization
            • Palette
            • Theme
            • Accessibility
            • Colors
            • Typography
            • Components
              • Buttons
              • Card
              • Toolbar
              • Dialog
              • Menu
          • CC Components
            • Card
            • Chips
            • Expansion Panel
        • Component Style Guide Version 1
          • Accordion
          • Buttons
          • Cards
          • Forms
          • Grid & Layout
          • Labels
          • Modals
          • Pagination
          • Rating
          • Search Box
          • Select Box
          • Tables
          • Tabs
          • Toast messages
          • Tooltip
          • Typography
        • SB-Styles: A Comprehensive Design Resource
        • SB-Themes Repository: Unifying Design Across Platforms
          • Classical Theme in Sunbird-Ed portal
          • Joyful Theme in Sunbird-Ed portal:
      • Reference Apps
        • Independent Libraries
          • Common Consumption Components
          • SunbirdEd Forms
          • Sunbird Client Services
          • Sunbird Styles
          • Sunbird Themes
          • Sunbird Tag Manager
      • API's
      • Admin Dashboard Reports
      • CSP changes
      • Reports
      • Other
        • Minimal forms
        • Telemetry
          • Trackable Collection
        • Platform
        • Learning Apps
    • Learn More
      • Dependencies
      • Specifications
        • SOFIE
        • SOFIE Implementation
  • Engage
    • Discuss
    • Contribute to ED
    • Extend / Contribute to Sunbird
    • Issue tracker/ Create Issue
  • Misc
    • Templates
      • Upgrade Sunbird release document
      • Release Notes
    • Misc Pages
      • Portal - Manage Learn - Reports
      • App - Manage Learn - component diagram
        • Projects
        • Observation & Survey
        • Program
      • Portal - Manage Learn - component diagram
      • Mobile form configurations
      • Content Indexing Flow
      • What are multiple databases used for
      • Course completion, reports and certificate issue
      • How to access Flink UI
      • What are all the flink jobs for
      • How does data flow into Druid
      • Minimal build properties
    • Archived
      • High Level Capabilities
      • Workflows
      • Where Sunbird ED helps you
      • ED - Mobile App (going to archive)
        • 4.10.3 to 5.0.0
        • 5.0.0 to 5.1.0
      • Setting up Sunbird ED
      • Developer Documentation
      • API Reference Documentation
      • Detailed Documentation
      • Source Code
      • Actors & Actions
      • Detailed Capabilities
      • Data
      • Terminology
      • 5.1.0-hotfix (OCI )
Powered by GitBook
On this page
  • ETB Level Report
  • Course Adoption Report v2
  1. USE
  2. Developer Guide

Admin Dashboard Reports

Last updated 10 months ago

As part of Sunbird ED we have the following list of reports available in the "Admin Dashboard Page" For Report Admin and for the Report Viewer Roles. Below is the list of reports that Report Admin and Report Viewer users can see in the Admin Dashboard Portal

  • ETB Creation Status Report

  • Live ETB QR Code-Content Linkage Status

  • Course Adoption Report v2

ETB Level Report

In this report, we are showning all the textbooks created under that tenant and their consumption in TWO Reports

  • ETB Creation Status Report

  • Live ETB QR Code-Content Linkage Status

ETB Creation Status Report: This report provides details about the creation status of all textbooks. Note that the numbers shown in the graphs are absolute numbers and not percentages.

This report helps administrators to track the ETB creation process, identify textbooks that are incomplete and take actions to complete the process.

Live ETB QR Code-Content Linkage Status: This report provides the details of QR codes present in the live textbooks that have content linked and content not linked to them. Detailed data table also provides specific QR codes that do not have linked content along with the total number of scans.

QR codes without any content linked to them result in bad user experience. This report helps in identifying such QR codes and take immediate action by linking content to them.

More Detailes of this report are available in this Confluance Page: To Run the Report: Deploy/Lern/LernAnalyticsReplayJobs job_type: run-job job_id: etb-metrics Before running the above jobs we need to make sure there is data available in these data sets (content-model-snapshot, summary-rollup-syncts, & telemetry-rollup-syncts)

The script of this report is available in this

Course Adoption Report v2

In this report, we are showing all the courses created under that tenant and their consumption by batch-wise State and District.

To Run the Report:

Deploy/DataPipeline/Runreport

JOB id: course_adoption_by_batch course_adoption_table_new course_adoption_report_plays_and_time_spent

Before running the above three jobs we need to make sure there is data available in these data sets (collection-summary-snapshots & summary-rollup-syncs)

DataSource( In Druid)

We have to configure the datasource in Druid to index all the required fields for the sourcing admin reports. Find the below details of the Druid datasource.

DataSource -

This report is dependent on the following data sources

  • collection-summary-snapshots

  • summary-rollup-syncts {Screenshot needs to be added}

Configuration

For "Course Adoption" we have to configure the report using the "ReportConfigure" API. The `reportId` is the key to identify the report is configured or not

"reportId": "course_adoption_by_batch", "course_adoption_table_new", "course_adoption_report_plays_and_time_spent"

API -

{{host}}api/data/v1/report/jobs/course_adoption_by_batch

Request Body

{
  "createdOn": 1624433765307,
  "updatedOn": 1627728823592,
  "reportId": "course_adoption_by_batch",
  "config": {
    "streamQuery": true,
    "reportConfig": {
      "id": "course_adoption_by_batch",
      "mergeConfig": {
        "postContainer": "reports",
        "container": "reports",
        "basePath": "/mount/data/analytics/tmp",
        "reportPath": "course_adoption_by_batch.csv",
        "dateFieldRequired": false,
        "rollup": 0
      },
      "labels": {
        "batch_start_date": "Batch Start Date",
        "collection_id": "Collection id",
        "batch_end_date": "Batch End Date",
        "total_content_plays_on_app": "Total Completion",
        "total_content_plays_on_desktop": "Total Certificates Issued",
        "legend": "Total Enrolments",
        "channel_for_slug": "Content Published by",
        "SUM(total_certificates_issued)": "total_content_plays_on_desktop",
        "total_content_plays_on_portal": "Total Enrolments",
        "batch_name": "Batch Name",
        "batch_id": "Batch id",
        "collection_name": "Collection Name",
        "Content Published by": "Published by"
      },
      "dateRange": {
        "staticInterval": "LastDay",
        "granularity": "latest_index",
        "intervalSlider": 0
      },
      "metrics": [
        {
          "metric": "total_content_plays_on_portal",
          "label": "total_content_plays_on_portal",
          "druidQuery": {
            "dataSource": "collection-summary-snapshot",
            "limitSpec": {
              "type": "default",
              "limit": 50000,
              "columns": [
                {
                  "dimension": "SUM(total_enrolment)",
                  "direction": "descending"
                }
              ]
            },
            "granularity": "latest_index",
            "dimensions": [
              {
                "type": "extraction",
                "extractionFn": [
                  {
                    "type": "registeredLookup",
                    "retainMissingValue": true,
                    "fn": "channelSlugLookup"
                  }
                ],
                "fieldName": "created_for",
                "aliasName": "Content Published by"
              },
              {
                "fieldName": "collection_name",
                "aliasName": "Collection Name"
              },
              {
                "fieldName": "collection_id",
                "aliasName": "Collection id"
              },
              {
                "fieldName": "batch_name",
                "aliasName": "Batch Name"
              },
              {
                "fieldName": "batch_id",
                "aliasName": "Batch id"
              },
              {
                "fieldName": "batch_start_date",
                "aliasName": "Batch Start Date"
              },
              {
                "fieldName": "batch_end_date",
                "aliasName": "Batch End Date"
              }
            ],
            "aggregations": [
              {
                "fieldName": "total_enrolment",
                "type": "longSum",
                "name": "total_content_plays_on_portal"
              }
            ],
            "postAggregations": [],
            "queryType": "groupBy"
          }
        },
        {
          "metric": "total_content_plays_on_app",
          "label": "Total Completion",
          "druidQuery": {
            "dataSource": "collection-summary-snapshot",
            "limitSpec": {
              "type": "default",
              "limit": 50000,
              "columns": [
                {
                  "dimension": "SUM(total_completion)",
                  "direction": "descending"
                }
              ]
            },
            "granularity": "latest_index",
            "dimensions": [
              {
                "type": "extraction",
                "extractionFn": [
                  {
                    "type": "registeredLookup",
                    "retainMissingValue": true,
                    "fn": "channelSlugLookup"
                  }
                ],
                "fieldName": "created_for",
                "aliasName": "Content Published by"
              },
              {
                "fieldName": "collection_name",
                "aliasName": "Collection Name"
              },
              {
                "fieldName": "collection_id",
                "aliasName": "Collection id"
              },
              {
                "fieldName": "batch_name",
                "aliasName": "Batch Name"
              },
              {
                "fieldName": "batch_id",
                "aliasName": "Batch id"
              },
              {
                "fieldName": "batch_start_date",
                "aliasName": "Batch Start Date"
              },
              {
                "fieldName": "batch_end_date",
                "aliasName": "Batch End Date"
              }
            ],
            "aggregations": [
              {
                "fieldName": "total_completion",
                "type": "longSum",
                "name": "total_content_plays_on_app"
              }
            ],
            "postAggregations": [],
            "queryType": "groupBy"
          }
        },
        {
          "metric": "total_content_plays_on_desktop",
          "label": "Total Certificates Issued",
          "druidQuery": {
            "dataSource": "collection-summary-snapshot",
            "limitSpec": {
              "type": "default",
              "limit": 50000,
              "columns": [
                {
                  "dimension": "SUM(total_certificates_issued)",
                  "direction": "descending"
                }
              ]
            },
            "granularity": "latest_index",
            "dimensions": [
              {
                "type": "extraction",
                "extractionFn": [
                  {
                    "type": "registeredLookup",
                    "retainMissingValue": true,
                    "fn": "channelSlugLookup"
                  }
                ],
                "fieldName": "created_for",
                "aliasName": "Content Published by"
              },
              {
                "fieldName": "collection_name",
                "aliasName": "Collection Name"
              },
              {
                "fieldName": "collection_id",
                "aliasName": "Collection id"
              },
              {
                "fieldName": "batch_name",
                "aliasName": "Batch Name"
              },
              {
                "fieldName": "batch_id",
                "aliasName": "Batch id"
              },
              {
                "fieldName": "batch_start_date",
                "aliasName": "Batch Start Date"
              },
              {
                "fieldName": "batch_end_date",
                "aliasName": "Batch End Date"
              }
            ],
            "aggregations": [
              {
                "fieldName": "total_certificates_issued",
                "type": "longSum",
                "name": "total_content_plays_on_desktop"
              }
            ],
            "postAggregations": [],
            "queryType": "groupBy"
          }
        }
      ],
      "output": [
        {
          "type": "csv",
          "metrics": [
            "total_content_plays_on_portal",
            "total_content_plays_on_app",
            "total_content_plays_on_desktop"
          ],
          "dims": [
            "date",
            "Content Published by"
          ],
          "fileParameters": [
            "id",
            "dims"
          ]
        }
      ],
      "queryType": "groupBy"
    },
    "container": "reports",
    "store": "oci",
    "key": "hawk-eye/"
  },
  "requestedBy": "User1",
  "reportDescription": "Course Adoption Report",
  "submittedOn": 1624433765307,
  "status": "ACTIVE",
  "status_msg": "REPORT SUCCESSFULLY ACTIVATED",
  "reportSchedule": "DAILY"
}

{
        "createdOn": 1621514149909,
        "updatedOn": 1627729035091,
        "reportId": "course_adoption_table_new",
        "config": {
            "streamQuery": true,
            "reportConfig": {
                "id": "course_adoption_table_new",
                "mergeConfig": {
                    "postContainer": "reports",
                    "container": "reports",
                    "basePath": "/mount/data/analytics/tmp",
                    "reportPath": "course_adoption_table_new.csv",
                    "dateFieldRequired": false,
                    "rollup": 0
                },
                "labels": {
                    "batch_start_date": "Batch Start Date",
                    "state": "User State",
                    "collection_id": "Collection id",
                    "batch_end_date": "Batch End Date",
                    "total_content_plays_on_app": "Total Completions",
                    "total_content_plays_on_desktop": "Total Certificates Issued",
                    "legend": "Total Enrolments",
                    "channel_for_slug": "Content Published by",
                    "SUM(total_certificates_issued)": "total_content_plays_on_desktop",
                    "total_content_plays_on_portal": "Total Enrolments",
                    "user_state": "state",
                    "batch_name": "Batch Name",
                    "user_district": "User District",
                    "batch_id": "Batch id",
                    "collection_name": "Collection Name",
                    "Content Published by": "Published by",
                    "has_certificate": "Has Certificate"
                },
                "dateRange": {
                    "staticInterval": "LastDay",
                    "granularity": "latest_index",
                    "intervalSlider": 0
                },
                "metrics": [
                    {
                        "metric": "total_content_plays_on_portal",
                        "label": "total_content_plays_on_portal",
                        "druidQuery": {
                            "dataSource": "collection-summary-snapshot",
                            "limitSpec": {
                                "type": "default",
                                "limit": 1000,
                                "columns": [
                                    {
                                        "dimension": "SUM(total_enrolment)",
                                        "direction": "descending"
                                    }
                                ]
                            },
                            "filters": [
                                {
                                    "type": "equals",
                                    "dimension": "content_status",
                                    "value": "Live"
                                }
                            ],
                            "granularity": "latest_index",
                            "dimensions": [
                                {
                                    "type": "extraction",
                                    "extractionFn": [
                                        {
                                            "type": "registeredLookup",
                                            "retainMissingValue": true,
                                            "fn": "channelSlugLookup"
                                        }
                                    ],
                                    "fieldName": "created_for",
                                    "aliasName": "Content Published by"
                                },
                                {
                                    "fieldName": "collection_id",
                                    "aliasName": "Collection id"
                                },
                                {
                                    "fieldName": "collection_name",
                                    "aliasName": "Collection Name"
                                },
                                {
                                    "fieldName": "batch_id",
                                    "aliasName": "Batch id"
                                },
                                {
                                    "fieldName": "batch_name",
                                    "aliasName": "Batch Name"
                                },
                                {
                                    "fieldName": "batch_start_date",
                                    "aliasName": "Batch Start Date"
                                },
                                {
                                    "fieldName": "batch_end_date",
                                    "aliasName": "Batch End Date"
                                },
                                {
                                    "fieldName": "has_certificate",
                                    "aliasName": "Has Certificate"
                                },
                                {
                                    "fieldName": "user_state",
                                    "aliasName": "state"
                                },
                                {
                                    "fieldName": "user_district",
                                    "aliasName": "User District"
                                }
                            ],
                            "aggregations": [
                                {
                                    "fieldName": "total_enrolment",
                                    "type": "longSum",
                                    "name": "total_content_plays_on_portal"
                                }
                            ],
                            "postAggregations": [],
                            "queryType": "groupBy"
                        }
                    },
                    {
                        "metric": "total_content_plays_on_app",
                        "label": "Total Completions",
                        "druidQuery": {
                            "dataSource": "collection-summary-snapshot",
                            "limitSpec": {
                                "type": "default",
                                "limit": 1000,
                                "columns": [
                                    {
                                        "dimension": "SUM(total_completion)",
                                        "direction": "descending"
                                    }
                                ]
                            },
                            "filters": [
                                {
                                    "type": "equals",
                                    "dimension": "content_status",
                                    "value": "Live"
                                }
                            ],
                            "granularity": "latest_index",
                            "dimensions": [
                                {
                                    "type": "extraction",
                                    "extractionFn": [
                                        {
                                            "type": "registeredLookup",
                                            "retainMissingValue": true,
                                            "fn": "channelSlugLookup"
                                        }
                                    ],
                                    "fieldName": "created_for",
                                    "aliasName": "Content Published by"
                                },
                                {
                                    "fieldName": "collection_id",
                                    "aliasName": "Collection id"
                                },
                                {
                                    "fieldName": "collection_name",
                                    "aliasName": "Collection Name"
                                },
                                {
                                    "fieldName": "batch_id",
                                    "aliasName": "Batch id"
                                },
                                {
                                    "fieldName": "batch_name",
                                    "aliasName": "Batch Name"
                                },
                                {
                                    "fieldName": "batch_start_date",
                                    "aliasName": "Batch Start Date"
                                },
                                {
                                    "fieldName": "batch_end_date",
                                    "aliasName": "Batch End Date"
                                },
                                {
                                    "fieldName": "has_certificate",
                                    "aliasName": "Has Certificate"
                                },
                                {
                                    "fieldName": "user_state",
                                    "aliasName": "state"
                                },
                                {
                                    "fieldName": "user_district",
                                    "aliasName": "User District"
                                }
                            ],
                            "aggregations": [
                                {
                                    "fieldName": "total_completion",
                                    "type": "longSum",
                                    "name": "total_content_plays_on_app"
                                }
                            ],
                            "postAggregations": [],
                            "queryType": "groupBy"
                        }
                    },
                    {
                        "metric": "total_content_plays_on_desktop",
                        "label": "Total Certificates Issued",
                        "druidQuery": {
                            "dataSource": "collection-summary-snapshot",
                            "limitSpec": {
                                "type": "default",
                                "limit": 1000,
                                "columns": [
                                    {
                                        "dimension": "SUM(total_certificates_issued)",
                                        "direction": "descending"
                                    }
                                ]
                            },
                            "filters": [
                                {
                                    "type": "equals",
                                    "dimension": "content_status",
                                    "value": "Live"
                                }
                            ],
                            "granularity": "latest_index",
                            "dimensions": [
                                {
                                    "type": "extraction",
                                    "extractionFn": [
                                        {
                                            "type": "registeredLookup",
                                            "retainMissingValue": true,
                                            "fn": "channelSlugLookup"
                                        }
                                    ],
                                    "fieldName": "created_for",
                                    "aliasName": "Content Published by"
                                },
                                {
                                    "fieldName": "collection_id",
                                    "aliasName": "Collection id"
                                },
                                {
                                    "fieldName": "collection_name",
                                    "aliasName": "Collection Name"
                                },
                                {
                                    "fieldName": "batch_id",
                                    "aliasName": "Batch id"
                                },
                                {
                                    "fieldName": "batch_name",
                                    "aliasName": "Batch Name"
                                },
                                {
                                    "fieldName": "batch_start_date",
                                    "aliasName": "Batch Start Date"
                                },
                                {
                                    "fieldName": "batch_end_date",
                                    "aliasName": "Batch End Date"
                                },
                                {
                                    "fieldName": "has_certificate",
                                    "aliasName": "Has Certificate"
                                },
                                {
                                    "fieldName": "user_state",
                                    "aliasName": "state"
                                },
                                {
                                    "fieldName": "user_district",
                                    "aliasName": "User District"
                                }
                            ],
                            "aggregations": [
                                {
                                    "fieldName": "total_certificates_issued",
                                    "type": "longSum",
                                    "name": "total_content_plays_on_desktop"
                                }
                            ],
                            "postAggregations": [],
                            "queryType": "groupBy"
                        }
                    }
                ],
                "output": [
                    {
                        "type": "csv",
                        "metrics": [
                            "total_content_plays_on_portal",
                            "total_content_plays_on_app",
                            "total_content_plays_on_desktop"
                        ],
                        "dims": [
                            "date",
                            "Content Published by"
                        ],
                        "fileParameters": [
                            "id",
                            "dims"
                        ]
                    }
                ],
                "queryType": "groupBy"
            },
            "container": "reports",
            "store": "oci",
            "key": "hawk-eye/"
        },
        "createdBy": "User1",
        "description": "Course Adoption Report",
        "submittedOn": 1621514149909,
        "status": "ACTIVE",
        "status_msg": "REPORT SUCCESSFULLY ACTIVATED",
        "reportSchedule": "DAILY"
    }

{
    "id": "ekstep.analytics.report.get",
    "params": {
        "client_key": null,
        "resmsgid": "50501709-3e75-4fd6-8c97-4fa709fc2616",
        "status": "successful"
    },
    "responseCode": "OK",
    "result": {
        "config": {
            "container": "reports",
            "key": "hawk-eye/",
            "reportConfig": {
                "dateRange": {
                    "granularity": "all",
                    "interval": {
                        "endDate": "2101-01-01",
                        "startDate": "1901-01-01"
                    },
                    "intervalSlider": 0
                },
                "id": "course_adoption_report_plays_and_time_spent",
                "labels": {
                    "collection_for_slug": "state",
                    "collection_name": "Course Name",
                    "data": "Date",
                    "legend": "Total Plays",
                    "object_rollup_l1": "Course id",
                    "state": "State",
                    "total_content_plays_on_app": "Total Time Spent (Hrs)",
                    "total_content_plays_on_portal": "Total Plays",
                    "total_time_spent_hours": "total_content_plays_on_app"
                },
                "mergeConfig": {
                    "basePath": "/mount/data/analytics/tmp",
                    "container": "reports",
                    "dateFieldRequired": false,
                    "postContainer": "reports",
                    "reportPath": "course_adoption_report_plays_and_time_spent.csv",
                    "rollup": 0
                },
                "metrics": [
                    {
                        "druidQuery": {
                            "aggregations": [
                                {
                                    "fieldName": "total_count",
                                    "name": "total_content_plays_on_portal",
                                    "type": "longSum"
                                }
                            ],
                            "dataSource": "summary-rollup-syncts",
                            "dimensions": [
                                {
                                    "aliasName": "state",
                                    "extractionFn": [
                                        {
                                            "fn": "channelSlugLookup",
                                            "retainMissingValue": true,
                                            "type": "registeredLookup"
                                        }
                                    ],
                                    "fieldName": "collection_created_for",
                                    "type": "extraction"
                                },
                                {
                                    "aliasName": "Course id",
                                    "fieldName": "object_rollup_l1"
                                },
                                {
                                    "aliasName": "Course Name",
                                    "fieldName": "collection_name"
                                }
                            ],
                            "filters": [
                                {
                                    "dimension": "collection_type",
                                    "type": "equals",
                                    "value": "Course"
                                },
                                {
                                    "dimension": "dimensions_type",
                                    "type": "equals",
                                    "value": "content"
                                },
                                {
                                    "dimension": "dimensions_mode",
                                    "type": "equals",
                                    "value": "play"
                                }
                            ],
                            "granularity": "all",
                            "limitSpec": {
                                "columns": [
                                    {
                                        "dimension": "SUM(total_count)",
                                        "direction": "descending"
                                    }
                                ],
                                "limit": 50000,
                                "type": "default"
                            },
                            "postAggregations": [
                            ],
                            "queryType": "groupBy"
                        },
                        "label": "total_content_plays_on_portal",
                        "metric": "total_content_plays_on_portal"
                    },
                    {
                        "druidQuery": {
                            "aggregations": [
                                {
                                    "fieldName": "total_time_spent",
                                    "name": "sum__total_time_spent",
                                    "type": "doubleSum"
                                }
                            ],
                            "dataSource": "summary-rollup-syncts",
                            "dimensions": [
                                {
                                    "aliasName": "state",
                                    "extractionFn": [
                                        {
                                            "fn": "channelSlugLookup",
                                            "retainMissingValue": true,
                                            "type": "registeredLookup"
                                        }
                                    ],
                                    "fieldName": "collection_created_for",
                                    "type": "extraction"
                                },
                                {
                                    "aliasName": "Course id",
                                    "fieldName": "object_rollup_l1"
                                },
                                {
                                    "aliasName": "Course Name",
                                    "fieldName": "collection_name"
                                }
                            ],
                            "filters": [
                                {
                                    "dimension": "collection_type",
                                    "type": "equals",
                                    "value": "Course"
                                },
                                {
                                    "dimension": "dimensions_type",
                                    "type": "equals",
                                    "value": "content"
                                },
                                {
                                    "dimension": "dimensions_mode",
                                    "type": "equals",
                                    "value": "play"
                                }
                            ],
                            "granularity": "all",
                            "limitSpec": {
                                "columns": [
                                    {
                                        "dimension": "total_time_spent_hours",
                                        "direction": "descending"
                                    }
                                ],
                                "limit": 50000,
                                "type": "default"
                            },
                            "postAggregation": [
                                {
                                    "fields": {
                                        "leftField": "sum__total_time_spent",
                                        "rightField": 3600,
                                        "rightFieldType": "constant"
                                    },
                                    "fn": "/",
                                    "name": "total_content_plays_on_app",
                                    "type": "arithmetic"
                                }
                            ],
                            "queryType": "groupBy"
                        },
                        "label": "Total Time Spent (Hrs)",
                        "metric": "total_content_plays_on_app"
                    }
                ],
                "output": [
                    {
                        "dims": [
                            "date",
                            "state"
                        ],
                        "fileParameters": [
                            "id",
                            "dims"
                        ],
                        "metrics": [
                            "total_content_plays_on_portal",
                            "total_content_plays_on_app"
                        ],
                        "type": "csv"
                    }
                ],
                "queryType": "groupBy"
            },
            "store": "azure",
            "streamQuery": true
        },
        "createdOn": 1717153376730,
        "reportDescription": "Course Adoption Report",
        "reportId": "course_adoption_report_plays_and_time_spent",
        "reportSchedule": "DAILY",
        "requestedBy": "fca2925f-1eee-4654-9177-fece3fd6afc9",
        "status": "ACTIVE",
        "status_msg": "REPORT SUCCESSFULLY ACTIVATED",
        "submittedOn": 1717153376730,
        "updatedOn": 1717153376730
    },
    "ts": "2024-06-14T10:02:45.092+00:00",
    "ver": "1.0"
}

https://project-sunbird.atlassian.net/wiki/spaces/PRD/pages/1044643843/ETB+Creation+report+and+QR+Code+Exception+report
link