|
| 1 | +--- |
| 2 | +title: Intelligent Log Analysis for the HSF Conditions Database |
| 3 | +layout: gsoc_proposal |
| 4 | +project: HSFCondDB |
| 5 | +year: 2025 |
| 6 | +difficulty: medium |
| 7 | +duration: 350 |
| 8 | +mentor_avail: June-October |
| 9 | +organization: |
| 10 | + - BNL |
| 11 | +--- |
| 12 | + |
| 13 | +## Description |
| 14 | + |
| 15 | +The [nopayloaddb](https://github.com/BNLNPPS/nopayloaddb) project works as an implementation of the Conditions Database |
| 16 | +reference for the HSF. It provides a RESTful API for managing payloads, global tags, payload types, and associated data. |
| 17 | + |
| 18 | +Our current system, composed of Nginx, Django, and database ([link to helm chart](https://github.com/BNLNPPS/nopayloaddb-charts)), |
| 19 | +lacks a centralized logging solution making it difficult to effectively monitor and troubleshoot issues. |
| 20 | +This task will address this deficiency by implementing a centralized logging system aggregating logs from multiple |
| 21 | +components, and develop a machine learning model to perform intelligent log analysis. The model will identify unusual |
| 22 | +log entries indicative of software bugs, database bottlenecks, or other performance issues, allowing us to address |
| 23 | +problems before they escalate. Additionally, by analyzing system metrics, the model will provide insights for an optimal |
| 24 | +adjustment of parameters during periods of increased request rates. |
| 25 | + |
| 26 | +## Steps |
| 27 | + |
| 28 | +1. Set up a centralized logging system |
| 29 | +2. Collect and structure logs from Nginx, Django, and the database |
| 30 | +3. Develop an ML model for log grouping and anomaly detection |
| 31 | +4. Implement Kubernetes-based database with replication |
| 32 | +5. Train an ML model to optimize Kubernetes parameters dynamically |
| 33 | + |
| 34 | + |
| 35 | +## Expected Results |
| 36 | + |
| 37 | +* A centralized logging system for improved monitoring and troubleshooting |
| 38 | +* ML-powered anomaly detection |
| 39 | +* ML-driven dynamic configuration for optimal performance |
| 40 | + |
| 41 | +## Requirements |
| 42 | + |
| 43 | +* Python and basic understanding of ML frameworks |
| 44 | +* Kubernetes, basic understanding, k8s, Helm, Operators, OpenShift |
| 45 | +* Django and Nginx, basic understanding of web frameworks and logging |
| 46 | +* Database knowledge, PostgreSQL, database replication |
| 47 | + |
| 48 | + |
| 49 | +## Mentors |
| 50 | + |
| 51 | +- **Ruslan Mashinistov [[email protected]](mailto:[email protected]) BNL ** |
| 52 | +- John S. De Stefano Jr. [[email protected]](mailto:[email protected]) BNL |
| 53 | +- Michel Hernandez Villanueva [[email protected]](mailto:[email protected]) BNL |
| 54 | + |
| 55 | + |
| 56 | +## Links |
| 57 | + |
| 58 | +* Django REST API: https://github.com/BNLNPPS/nopayloaddb |
| 59 | +* Automized deployment with helm-chart: https://github.com/BNLNPPS/nopayloaddb-charts |
0 commit comments