wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
743 stars 723 forks source link

ELK-based Analytics Support #13310

Closed IsankaSR closed 2 years ago

IsankaSR commented 2 years ago

The product IS has the ELK integration capability developed via an intern incubator project [1]. Need to fine-tune the existing feature-set further and ship ELK Analytics support for product IS with the 5.12.0 release. Following are the sub tasks related to this effort;

Timeline for this effort : https://docs.google.com/spreadsheets/d/1hGJnH2yctkX4iC9olEgNIEbnzNHN4x3FgKDSHCI6vGY/edit?usp=sharing

IsankaSR commented 2 years ago

1. Setting up the environment

ELK integration incubator project was completed back in December of 2020, and since then, there have been significant changes for the ELK stack. A major version(8.0.0) has also been released in feb mid, it has major installation changes.

ELK version 8.0 requires Java 17 or higher support. Setting up both IS and ELK in the same environment makes some complications. We switched our samples to Docker and Docker-Compose to simulate a comprehensive deployment example. With this approach, we can isolate different components and easily update our dashboards for different upcoming ELK versions.

ELK environment and IS configuration guide: https://docs.google.com/document/d/1gkz--rE97Cw_PAOGYm8JGmuKPWQevuTascgAcqLSYbI/edit?usp=sharing

IsankaSR commented 2 years ago

2. Try out and analyze ELK analytics dashboards

We have the index templates and save objects implemented in [1] for analytics dashbords. When trying out them, we've identified few issues due to version incompatabilities.

Fixed all the issues related to dashboards. You can try out dashboard following this doc: https://docs.google.com/document/d/1gkz--rE97Cw_PAOGYm8JGmuKPWQevuTascgAcqLSYbI/edit?usp=sharing

IsankaSR commented 2 years ago

3. Evaluate the feasibility of porting all of the existing features of IS analytics to ELK analytics.

Analysis : https://docs.google.com/document/d/1IRMpIIil1xTaEvucqyWqf-DYVanHn-IlGjGq5Feqdgw/edit?usp=sharing This analysis includes how we port IS analytics features to ELK analytics. Please read the document.

When trying out the features, identified some issues related to the dashboard panels.

Fixed above issues and ensure the stability of dashboards.

Missing features/panels:

Added above missing features and dashboards panels.

IsankaSR commented 2 years ago

[Progress Update] ELK Analytics Integration

Meeting Notes - 21/03/2022 Participants - @IsuraD , @omindu , @avarjana and @IsankaSR

This meeting was held to dicuss the analysis of porting all the existing features of IS Analytics to ELK analytics. Here we presented how we port IS analytics features to ELK analytics dashboards. In IS analytics, following are the 7 dashboard pages:

We concluded above dashboard pages to 3 dashboards in ELK analytics.

Here are the main talking points we discussed:

piraveena commented 2 years ago

@IsankaSR / @Avarjana close this issue if all tasks are done

IsankaSR commented 2 years ago

All the tasks are completed. Hence closing this issue.