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/analyze

Submit logs for analysis

GET /api/v1/clusters

Retrieve cluster results

POST /api/v1/alerts

Create smart alerts

GET /api/v1/insights

Get AI-powered insights