AI Skill Hub 推荐使用:Logara-AI 是一款优质的AI工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。
Logara-AI 是一款基于 Python 开发的开源工具,专注于 installable、python 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
Logara-AI 是一款基于 Python 开发的开源工具,专注于 installable、python 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install logara-ai
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install logara-ai
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/Dharanish-AM/Logara-AI
cd Logara-AI
pip install -e .
# 验证安装
python -c "import logara_ai; print('安装成功')"
# 命令行使用
logara-ai --help
# 基本用法
logara-ai input_file -o output_file
# Python 代码中调用
import logara_ai
# 示例
result = logara_ai.process("input")
print(result)
# logara-ai 配置文件示例(config.yml) app: name: "logara-ai" debug: false log_level: "INFO" # 运行时指定配置文件 logara-ai --config config.yml # 或通过环境变量配置 export LOGARA_AI_API_KEY="your-key" export LOGARA_AI_OUTPUT_DIR="./output"
#Logara AI
Logara AI is a modular observability platform designed to transform raw, noisy log streams into actionable intelligence. By combining high-performance ingestion with vector-based semantic search and local LLM processing, it provides developers with instant insights into system behavior without the overhead of manual pattern matching.
curl -X POST http://localhost:8000/ingest \
-H "Content-Type: application/json" \
-d '{"log_data": "ERROR: Database timeout for user 123"}'
Example response:
{
"status": "success_queued",
"parsed": {
"timestamp": null,
"level": "ERROR",
"service": null,
"host": null,
"message": "ERROR: Database timeout for user 123",
"source": null,
"metadata": {},
"parser_type": "structured_input",
"raw": "ERROR: Database timeout for user 123"
},
"structured_output": {
"Problem Summary": "Detected issue in logs: ERROR: Database timeout for user 123",
"Possible Cause": "System error, timeout, invalid request, or service failure.",
"Affected Component": "Backend ingestion pipeline / API / service layer",
"Suggested Fix": "Check logs, validate input, monitor service health, and retry request."
},
"metadata": {},
"redaction_summary": {}
}
curl -X POST http://localhost:8000/ingest \
-H "Content-Type: application/json" \
-d '{
"timestamp": "2026-05-26T10:00:00Z",
"level": "ERROR",
"service": "payments-service",
"message": "Database timeout for user 123",
"source": "api",
"metadata": {
"request_id": "req-123"
}
}'
Example response:
{
"status": "success_queued",
"parsed": {
"timestamp": "2026-05-26T10:00:00Z",
"level": "ERROR",
"service": "payments-service",
"host": null,
"message": "Database timeout for user 123",
"source": "api",
"metadata": {
"request_id": "req-123"
},
"parser_type": "structured_input",
"raw": "{\"timestamp\":\"2026-05-26T10:00:00Z\",\"level\":\"ERROR\",\"service\":\"payments-service\",\"message\":\"Database timeout for user 123\",\"source\":\"api\",\"metadata\":{\"request_id\":\"req-123\"}}"
},
"structured_output": {
"Problem Summary": "Detected issue in logs: Database timeout for user 123",
"Possible Cause": "System error, timeout, invalid request, or service failure.",
"Affected Component": "Backend ingestion pipeline / API / service layer",
"Suggested Fix": "Check logs, validate input, monitor service health, and retry request."
},
"metadata": {
"request_id": "req-123"
},
"redaction_summary": {}
}
curl -X POST http://localhost:8000/v1/logs \
-H "Content-Type: application/json" \
-d '{
"resourceLogs": [
{
"scopeLogs": [
{
"logRecords": [
{
"timeUnixNano": 1762350000000000000,
"severityNumber": 17,
"severityText": "ERROR",
"body": {"stringValue": "Cache miss spike detected"},
"attributes": {
"service.name": "cache-service"
}
}
]
}
]
}
]
}'
Example response:
{
"status": "success",
"message": "OTel logs processed successfully",
"processed_records": 1,
"redaction_summary": {},
"fallback_used": false
}
POST /ingest accepts either a raw log_data string or a structured JSON object.POST /v1/logs accepts OpenTelemetry HTTP export payloads and normalizes them before queueing. git clone https://github.com/Dharanish-AM/Logara-AI.git
cd Logara-AI
Before running, set your Redis password in .env:
```bash cp .env.example .env
2. **Start Infrastructure**:
bash docker-compose up -d
3. **Backend**:
bash cd backend python -m venv venv source venv/bin/activate pip install -r requirements.txt
# In terminal 1: Start the ingestor API fastapi dev main.py
# In terminal 2: Start the background log processor python worker.py
4. **AI Engine Service**:
bash cd ai-engine python -m venv venv source venv/bin/activate pip install -r requirements.txt
# Start the AI Engine on port 8001 uvicorn main:app --port 8001
5. **Frontend**:
bash cd frontend npm install npm run dev ```
Logara AI provides two main ingestion endpoints:
1. Standard Ingest (POST /ingest): - For single, raw log strings. - Body format: {"log_data": "[2026-05-16 10:30:00] INFO: service started"}
2. OpenTelemetry Log Ingest (POST /v1/logs): - For standard OpenTelemetry (OTLP) log collector HTTP exports. - Accepts standard JSON batches of resource logs, scope logs, and log records. - Automatically merges resource attributes, extracts timestamps/severity levels, and preserves metadata.
Logara AI includes a configurable backend redaction pipeline designed to sanitize sensitive information before logs enter queue processing, vectorization, or downstream AI workflows.
Logara-AI是一个开源的AI工具,提供日志分析和异常检测功能,值得关注,但需要进一步优化和完善。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,Logara-AI 是一款质量良好的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | Logara-AI |
| 原始描述 | 开源AI工具:AI-powered log intelligence platform that analyzes system and app logs to detect。⭐8 · Python |
| Topics | installablepython |
| GitHub | https://github.com/Dharanish-AM/Logara-AI |
| License | MIT |
| 语言 | Python |
收录时间:2026-06-11 · 更新时间:2026-06-11 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。