githubEdit

Audit event generator

🌠 audit-event-generator:

The Job utilizes the neo4j mutation data to generate AUDIT events for the Knowlg objects, following the Sunbird Telemetry specificationarrow-up-right. These AUDIT events are specifically structured and formatted to adhere to the telemetry standards defined by Sunbird.

By generating these AUDIT events, the Job creates a valuable data source that can be consumed by various data analytics jobs. These data analytics jobs leverage the AUDIT events to perform in-depth analysis, monitoring, and reporting on the activities and changes related to the Knowlg objects within the system.

The AUDIT events provide valuable insights into the life-cycle and modifications of Knowlg objects, enabling data analysts to track and understand user interactions, content updates, and other relevant events. This data-driven approach empowers data analytics teams to derive meaningful patterns, trends, and metrics, facilitating data-driven decision-making and continuous improvement of the Knowlg platform.

In summary, the Job leverages neo4j mutation data to generate AUDIT events that align with Sunbird Telemetry specifications. These events serve as a valuable data source for data analytics jobs, enabling detailed analysis and monitoring of Knowlg objects and supporting data-driven insights to enhance the platform's performance and user experience.

audit-event-generator

Code:

Configuration:

During the deployment process, the configuration for all knowledge-platform-jobs is sourced from the sunbird-learning-platform repository. On the other hand, for local setups, the configuration is taken from the respective job folders within the knowledge-platform-jobs repository.

Kafka Topic:

Job configuration variables:

Variable
Purpose

schema.basepath*

Used to access object schema files basepath that are hosted publicly using which object schema file path can be constructed. (Basepath Example: https://sunbirddev.blob.core.windows.net/sunbird-dial-dev/schemas/localarrow-up-right, Object schema file path example: https://sunbirddev.blob.core.windows.net/sunbird-dial-dev/schemas/local/content/schema.jsonarrow-up-right)

channel.default*

Used to generate context information.

Sample Kafka event:

Last updated

Was this helpful?