Metadata-Version: 2.4
Name: logiq-cli
Version: 1.8.0
Summary: LogiIQ
Home-page: https://github.com/Vaibhav2154/LogIQ
Author: Vaibhav M N
Author-email: vaibhavvaibhu2005@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: aiohttp>=3.8.0
Requires-Dist: aiofiles>=23.0.0
Requires-Dist: cryptography>=41.0.0
Requires-Dist: schedule>=1.2.0
Requires-Dist: requests>=2.31.0
Requires-Dist: motor>=3.3.0
Requires-Dist: pymongo>=4.5.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: rich>=13.0.0
Requires-Dist: joblib>=1.3.0
Requires-Dist: numpy>=1.24.0
Requires-Dist: pandas>=2.0.0
Requires-Dist: redis>=5.0.0
Requires-Dist: pywin32>=306; platform_system == "Windows"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# LogiIQ CLI Tool v1.8.0

[![PyPI version](https://badge.fury.io/py/logiq-cli.svg)](https://badge.fury.io/py/logiq-cli)
[![Downloads](https://pepy.tech/badge/logiq-cli)](https://pepy.tech/project/logiq-cli)
[![Downloads](https://pepy.tech/badge/logiq-cli/month)](https://pepy.tech/project/logiq-cli)
[![Downloads](https://pepy.tech/badge/logiq-cli/week)](https://pepy.tech/project/logiq-cli)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)

LogiIQ is an advanced automated log analysis client with AI-powered threat detection, dynamic monitoring capabilities, and enhanced security features.

## 🚀 New in v1.8.0

- **Quieter logs**: Suppressed noisy startup warnings; diagnostics available in DEBUG
- **Polish**: Minor stability and initialization improvements

## 🔧 Previous Features (v1.7.0)

- **CLI UX polish**: Clearer help, messages, and exit codes
- **Stability**: More resilient shutdown flow on Ctrl+C and terminal close, especially on Windows
- **Performance**: Minor optimization in status update paths
- **Docs refresh**: Updated quick commands and pointers for 1.7

## 🔧 Previous Features (v1.6.0)

- Enhanced cleanup and error handling with cleaner exits
- More reliable status updates during shutdown
- Added download metrics and project badges

## 🚀 New in v1.6.0

- **Enhanced Cleanup Mechanism**: Improved event loop handling and cleanup process for graceful CLI exit
- **Better Error Handling**: Enhanced error handling for shutdown scenarios and interpreter shutdown
- **Robust Status Updates**: More reliable status update mechanism during CLI exit
- **Download Metrics**: Added comprehensive download badges and metrics to project documentation
- **Cleaner Exit Process**: Resolved cleanup warnings and event loop conflicts

## 🔧 Previous Features (v1.5.0)

- **Real-time CLI Status Updates**: CLI tool now properly updates user status to active/inactive on the frontend dashboard
- **Enhanced Authentication Flow**: Improved credential loading and username configuration for better status tracking
- **Automatic Status Management**: CLI status automatically updates when monitoring starts and stops
- **Better Dashboard Integration**: Frontend dashboard shows real-time CLI status with visual indicators
- **Improved Error Handling**: Enhanced error handling for authentication and status update failures

## 🔧 Previous Features (v1.4.0)

- **Critical Bug Fix**: Fixed Pre-RAG classifier issue that was causing all logs to be classified as threats
- **Model Quality Validation**: Automatic detection and fallback when ML models perform poorly
- **Improved Accuracy**: Dramatically reduced false positive rate in threat detection
- **Better Performance**: Enhanced classification speed and reliability
- **Robust Error Handling**: More reliable system with better fallback mechanisms

## 🔧 Previous Features (v1.3.0)

- **Enhanced Threat Detection**: Improved ML models with better accuracy and performance
- **Advanced Thread Modeling**: Optimized threat detection with thread-based processing
- **Enhanced Security**: Stronger encryption using password-based authentication
- **Comprehensive ML Suite**: Advanced threat classification and cost-sensitive training
- **Improved User Experience**: Better CLI interface and error handling

## Features

- **Real-time CLI Status Tracking**: Dashboard integration showing live CLI activity status
- AI agent integration for enhanced analysis with ML-powered threat detection
- Real-time log monitoring with MongoDB storage
- Secure authentication and encrypted credential storage
- Dynamic log extraction and analysis
- Advanced threat modeling and classification
- Cost-sensitive machine learning algorithms
- Comprehensive Scripts module with pre-trained models
- **Enhanced Dashboard Integration**: Visual status indicators for CLI tool activity

## Installation

```bash
pip install logiq-cli
```

## Usage

```bash
# Authentication
logiq auth login --username <username>

# Setup monitoring profile
logiq profile setup --log-path <path> --interval <seconds>

# Start monitoring (status will update on dashboard)
logiq monitor --start

# Start dynamic monitoring with real-time status updates
logiq monitor --dynamic --interval 300
```

## CLI Status Dashboard Integration

The CLI tool now provides real-time status updates to the dashboard:

- **ACTIVE** 🖥️: CLI monitoring is running
- **INACTIVE** 💤: CLI monitoring is stopped
- **Real-time Updates**: Status changes automatically when monitoring starts/stops
- **Visual Indicators**: Clear color-coded status display on the dashboard

## License

MIT License
