Closed IsankaSR closed 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
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.
[x] Version incompatible issues in index templates: PRs https://github.com/wso2-incubator/identity-elk-integration/pull/3
[x] HTTP input plugin install issues:
This plugin had some issues related to it's Gem dependecies when working with the latest version. The issue is temporarly fixed but need to further investigate how it affect templates. Issue: https://github.com/elastic/logstash/issues/13777
Tempory fix: https://github.com/elastic/logstash/issues/13777#issuecomment-1043141969
[x] Version incompatible issues in Logstash pipeline
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
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.
[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:
Organization - wso2-extensions```
or
```Transfer files into sample-is```
Send an email to take the opinions from the team
@IsankaSR / @Avarjana close this issue if all tasks are done
All the tasks are completed. Hence closing this issue.
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;
[x] Setting up the environment
[x] Try out and analyze all the default templates implemented in [1] for the analytics dashboard.
[x] Evaluate the feasibility of porting all of the existing features of IS analytics to ELK analytics.
[x] Action plan for subscription features
[x] Documentation
Timeline for this effort : https://docs.google.com/spreadsheets/d/1hGJnH2yctkX4iC9olEgNIEbnzNHN4x3FgKDSHCI6vGY/edit?usp=sharing