๐ An application built using .NET Core 8 for performing data aggregation with ElasticSearch.
Report Bug
ยท
Request Feature
This project demonstrates how to use ElasticSearch for data aggregation using a sample error_log
structure. It is built with .NET Core 8 and utilizes ElasticSearch's aggregation features to group and retrieve data.
Mock data is generated and fed into the system using ElasticSearch DevTools.
To get a local copy up and running, follow these steps.
- Ensure you have ElasticSearch and Kibana running. You can either use a locally installed instance or one running in Docker.
- Install the necessary packages using the following commands.
- Clone the repo:
git clone https://github.com/bgraokmush/ElasticSearch-Aggregation.git
- Install the required .NET dependencies:
dotnet add package Elastic.Clients.Elasticsearch --version 8.11.0 dotnet add package Elastic.Transport --version 8.11.0
- Run the application:
dotnet run
You can now interact with the system and send aggregation queries via the integrated APIs.
This project groups error logs and retrieves aggregated data using ElasticSearch's Aggregation API. Mock data for testing can be inserted using the DevTools in Kibana.
For detailed examples, please refer to the Documentation.
- Initial setup with ElasticSearch and Kibana
- Aggregation queries for grouping data
- Improve error logging mechanism
- Add more detailed query examples for complex aggregations
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open-source community amazing! Feel free to make this project better by following these steps:
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Any enhancements, bug fixes, or feature additions are greatly appreciated!
Distributed under the MIT License. See LICENSE.txt
for more information.
X Profile - @bgraokmsuh
Project Link: https://github.com/bgraokmush/ElasticSearch-Aggregation