Skip to content

IIS, Nginx, Apache and Mikrotik Logfile anlysis

License

Notifications You must be signed in to change notification settings

unattended-ch/logv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

81 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

logv

Release version Downloads

my way

Webserver logfile analysis for IIS, Nginx and Apache

Logfile analysis for Mikrotik routers

TABLE OF CONTENTS

πŸ’» MAINPAGE

Main Page

πŸ“œ DESCRIPTION

   Webserver logfile analysis software for IIS, Nginx and Apache
   Logfile analysis for Mikrotik routers
   Written with Lazarus using mysql 8.0 database
   Compiled for Ubuntu

   - Download logfiles from your Webserver
   - Analyze logfiles IP, Range, Country...
   - Create blocklist entry for adress ranges
   - Create .htaccess files for webserver (only Licensed)
   - Send .htaccess file to your server (only Licensed)
Uploading files is only in Licensed version available

πŸ“ FOLDERS

OS Folder Description
Ubuntu /usr/local/bin/ Executable
Ubuntu ~/logv/ Logfiles, Pages and Archiv folder
Ubuntu ~/.logv/ Work folder for internal files

πŸ“‹ FILES

OS File Description
Ubuntu /usr/local/bin/logv Executable
Ubuntu ~/.logv/logv.conf Configuration file

goto TOC

πŸƒ FIRST STEPS

   - Start logv
   - A script will assist you if mysql-server is not installed
   - Then the database connection dialog is displayed

Connection

   - Enter your data a press "Connect"
   - If the server is connected, you get a messsage "missing database"
   - Press "Create database"
   - The basic tables for logv are created
   - On success you will be forwarded to main page
   - The basic data will be imported from dump

   - Press "Upload/Download" button

UploadDownload

   - Press "Add" to create a new IIS, Nginx, Apache or Mikrotik logfile
   - Press "Add" to create a new .htaccess file

Addfile

   - Enter informations and Press "Save"

For more information (see Add Files)

   - Press "Download" to get the original .htaccess file from provider to ~/.logv/files/SERVERNAME.htaccess
   - Add two lines for Blocklist "#BEGIN Blacklist" and "#END Blocklist
   - Add two lines for Webspiders "#BEGIN Spiders" and "#END Spiders"

.htaccess

   - Between #BEGIN and #END data will be automatically replaced

goto TOC

🌐 Upload Download

Main Page

Function Description
Add Add a new file to database
Delete Delete selected file from database
Download Download selected file
Download Log Download all IIS, Nginx and Apache logfiles
*Upload Upload selected file
*Update Blacklist Update and upload all blocklist files
Exit Exit from window
Function marked with * are only in Licensed-Version available

goto TOC

✏️ ADD FILES

- Press "Upload/Download"
- Press "Add"

Main Page

Format Description
.htaccess .htaccess file for Apache, Nginx or IIS
IIS logfile Microsoft IIS logfile format
Apache logfile Apache or Nginx lofile format
Mikrotik Mikrotik logfile format
PHP file PHP file (example : wp-config.php)
HTML file HTML file
Config file Config file
Flags Flags
Webalizer Config file Webalizer config file
- For FTP download use "Server", "Username" and "Password"
- Without these fields a normal file copy will be made

- For Mikrotik you can specify a VPN-connection use "Filename" (myvpn)
- For Mikrotik specify "Username" with connection data ([email protected])
- Mikrotik data will be send with "rsh [email protected] scriptname"
Fields Description
Server FTP FQDN or IP
Username FTP username or Mikrotik rsh connection data
Password FTP password
Filename Remote filename, replace date in filename with "{DATE}"
Local filename Local filename, replace date in filename with "{DATE}"
Comment Comment for this file entry
Logpre Logfile short code for local files (example: "aa" or "ab")
Conf filename Webalizer configuration file (example: files/SERVERNAME.conf)
Webalizer index Webalizer (example: pages/SERVERNAME/index.html)
Hours to add If your server is not running in your timezone -1 or +1
Blacklist error HTML error to send in Blocklist (example: 410)

goto TOC

πŸ”Ž ANALYZE LOGFILE

Main Page

- Click on a file on left window
- File will be loaded into import table on center window
- Country and Range loading will be started automatically
- To block IP address select log line and Right-Click "Add to blocklist"
- To block Webspiders select a log line and Right-Click "Add to spiders"

Blocklist Webspider

- Verify data and Press "Save"
- Leave the window Press "Exit"

goto TOC

πŸ“› BLOCKLIST

Main Page

Function Description
Save Save selected record
Delete Delete selected record
Refresh Refresh list
Reload Reload list
Reset Reset default list display
Update Filter Update filter
Validate Filter Validate filter
Test Filter Test all filter in the blocklist
Test Owner Test all owners in the blocklist
Overlap Check for overlapping ranges in the blocklist
Whois Run WHOIS for selected IP Adress
Exit Close window

goto TOC

πŸ’Ώ DATABASE

Windows marked with * are only in Licensed-Version available

* Archiv

Database archiv

goto TOC

* Blocklist

Database blocklist

goto TOC

* Spiders

Database spiders

goto TOC

* Errors

Database errors

goto TOC

* Keywords

Database keywords

goto TOC

* Files

Database files

goto TOC

Connection

Database connection

goto TOC

⚠️ License

Get license, pay with payment slip

♻️ CHANGELOG

Changelog

goto TOC