A web application for analyzing AMQP logs (e.g., from @azure/service-bus and @azure/event-hubs) using AI-powered insights. The app leverages Azure OpenAI to provide structured, chunks of summaries and details for uploaded log files.
- Upload and view raw log files
- AI-generated summary and detailed chunk insights for logs
- Interactive, expandable UI for exploring log chunks and their purposes
- Query panel for asking questions about the logs
- Dynamic, real-time rendering as logs are analyzed
- Install dependencies:
npm install
- Set up your
.envfile in the project root with your OpenAI or Azure OpenAI credentials:REACT_APP_AZURE_OPENAI_ENDPOINT=your-endpoint REACT_APP_AZURE_OPENAI_KEY=your-key
- Start the development server:
npm start - Open http://localhost:3000 and upload a log file or use the sample.
- The log file is split into chunks and sent to the OpenAI API for analysis.
- Each chunk is summarized with its purpose and key events/errors in a structured manner.
- The UI updates dynamically as each chunk is processed, showing a tree of expandable insights.
- You can ask questions about the logs in natural language, and the system will provide relevant insights based on the queries.
Contributions are welcome! To contribute:
- Fork this repository and create a new branch for your feature or bugfix.
- Make your changes in the
src/directory, following the existing code style. - Add or update tests in
src/App.test.tsxor create new test files as needed. - Run
npm testto ensure all tests pass. - Submit a pull request with a clear description of your changes.
For major changes, please open an issue first to discuss what you would like to change.
This project was bootstrapped with Create React App.