Documentation
Introduction
LogSense is a semantic-aware log analysis platform using advanced AI to understand, cluster, and analyze system logs.
Unlike traditional pattern matching, LogSense understands meaning and context for better troubleshooting.
Installation
npm
$ npm install @logsense/client
pip
$ pip install logsense
Docker
$ docker pull logsense/analyzer:latest
Quick Start
import { LogSense } from '@logsense/client'; const client = new LogSense({ apiKey: 'your-api-key' }); const result = await client.analyze({ source: 'elasticsearch', timeRange: '1h' }); console.log(result.clusters);
API Endpoints
POST /api/v1/analyzeSubmit logs for analysis
GET /api/v1/clustersRetrieve cluster results
POST /api/v1/alertsCreate smart alerts
GET /api/v1/insightsGet AI-powered insights