Monitor System

TWSLA – TWSNMP’s Simple Log Analyzer)

TWSLA is a command-line log analysis tool from the TWSNMP project. It’s built for administrators and operators who want to work directly with large log sets without deploying a heavier log management stack.

The program imports logs into a local searchable datastore, then provides interactive terminal-based tools for filtering, counting, extracting, and visualising data. It supports common operational workflows such as spotting rare events, examining time-based activity patterns, and analysing suspicious or delayed log entries.

This is free and open source software.

Key Features

  • Imports logs from files, directories, archives, SCP, SSH, email sources, and TWSNMP FC.
  • Provides interactive log searching with simple filters, regular expressions, exclusion filters, and time-range filtering.
  • Counts log events over time or by extracted fields, with support for JSON, GROK, word, and normalised pattern extraction.
  • Extracts structured values such as IP addresses, MAC addresses, email addresses, URLs, words, and numeric data from log entries.
  • Finds rare log lines using TF-IDF analysis.
  • Includes anomaly detection modes for suspicious logs, including SQL injection, OS command injection, directory traversal, and other unusual patterns.
  • Offers heat map, time-difference, and delay analysis to highlight temporal patterns and latency issues in logs.
  • Supports relation analysis between extracted values and can output interactive graphs.
  • Can detect threats using SIGMA rules.
  • Includes email log analysis features such as searching headers, counting by fields, checking SPF status, and reviewing relay counts and delivery delays.
  • Supports AI-assisted log analysis using external LLM providers.
  • Lets you save results and charts in formats including CSV, PNG, and interactive HTML.
  • Cross-platform support – runs under Linux, macOS, and Windows.

Website: github.com/twsnmp/twsla
Support:
Developer: twsnmp
License: Apache License 2.0

TWSLA commands and flags

TWSLA is written in Go. Learn Go with our recommended free books and free tutorials.


Related Software

Console Log File Analyzers
journalctlQuery and display messages from the journal
lnavCurses-based tool for viewing and analyzing log files
GonzoGo based TUI for log analysis
angle-grinderSlice and dice logs
MultiTailMonitor logfiles and command output in multiple windows
SwatchSimple Log Watcher is a useful tool to monitor just about any type of log
ChipmunkFast logfile viewer that can deal with huge logfiles (>10 GB)

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments