An IntelliJ IDEA plugin for analyzing Apache/Nginx log files with detailed insights and visualizations.
Analyze Apache/Nginx log files directly in your IDE with powerful insights:
- Traffic Analysis - View request patterns by hour with visual charts
- Status Codes - Distribution of HTTP response codes with percentages
- Top Endpoints - Most frequently accessed URLs
- Performance Metrics - Response size analysis and data transfer statistics
- Security Analysis - Detect suspicious activity and potential attacks
Perfect for developers and DevOps engineers who need to analyze web server logs during development and debugging.
- Live Watch Mode - Automatically re-analyze logs when files change
- Instant Processing - Parse thousands of log entries in seconds
- Visual Charts - ASCII-based charts for traffic patterns and distributions
- Keyword Search - Filter by IP address, endpoint, or any text
- Date Range - Analyze specific time periods
- Status Code Filter - Focus on specific HTTP response codes
- Combined Filters - Stack multiple filters for precise analysis
- Traffic by Hour - Request distribution with visual timeline
- Status Code Breakdown - Success rates, errors, and redirects
- Top Endpoints - Most accessed URLs with request counts
- Performance Metrics - Response sizes and data transfer statistics
- Security Analysis - Detect brute force attempts and suspicious IPs
- HTML Reports - Beautiful, self-contained reports with charts
- JSON Data - Machine-readable format for further processing
- One-Click Export - Quick access via toolbar or keyboard shortcut
Ctrl+F- Focus search fieldCtrl+Shift+G- Export reportCtrl+W- Toggle watch modeEscape- Clear filtersEnter- Apply filters
-
Clone this repository:
git clone https://github.com/Matei-Gatin/LogAnalyzer-Plugin.git cd LogAnalyzer-Plugin -
Build the plugin:
./gradlew buildPlugin
The plugin will be built to:
build/distributions/LogAnalyzer-Plugin-*.zip -
Install in IntelliJ IDEA:
- Open IntelliJ IDEA
- Go to
Settings → Plugins → ⚙️ (gear icon) → Install Plugin from Disk - Select the
.zipfile frombuild/distributions/ - Restart IntelliJ IDEA
Run the plugin in a sandbox IDE:
./gradlew runIde- Right-click any
.logfile in your project - Select "Analyze Log File"
- View results in the LogAnalyzer tool window
- After analyzing a file, click "▶ Start Watch Mode"
- Any changes to the log file will trigger automatic re-analysis
- Click "⏸ Pause Watch" to stop monitoring
- Use the filter panel at the top of the tool window
- Enter search keywords, date ranges, or status codes
- Click "Apply Filter" or press
Enter - Results update immediately to show only matching entries
- Click the "📤 Export Report" button in the toolbar
- Choose format: HTML (visual) or JSON (data)
- Select save location
- Optionally open the report immediately
- IntelliJ Platform SDK - Plugin framework
- Java 21 - Core language
- Gradle - Build system
- Gson - JSON processing
Currently supports:
- Apache Combined Log Format
- Nginx Access Logs
Example log format:
127.0.0.1 - - [30/Oct/2024:10:15:30 +0000] "GET /api/users HTTP/1.1" 200 1234
- Development - Analyze local development server logs
- Debugging - Track down errors in production logs
- Performance - Identify slow endpoints and large responses
- Security - Detect brute force attacks and suspicious activity
- Monitoring - Watch logs in real-time during testing
Future features planned:
- Custom log format support
- More export formats (PDF, CSV)
- Advanced visualizations
- Log comparison tool
- Custom alert rules
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE file for details
Matei Gatin
- GitHub: @Matei-Gatin
Made with ❤️ for the IntelliJ Platform


