uiDivStats - WebUI for Diversion statistics

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.
  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

Jack Yaz

Part of the Furniture
v2.3.0
Updated 2021-01-09


A graphical representation of domain blocking performed by Diversion.

uiDivStats is free to use under the GNU General Public License version 3 (GPL 3.0).

This project is hosted on GitHub

Love the script and want to support future development? Any and all donations gratefully received!
PayPal donation
Buy me a coffee

Supported firmware versions
You must be running firmware Merlin 384.15/384.13_4 or Fork 43E5 (or later) Asuswrt-Merlin

Installation
Using your preferred SSH client/terminal, copy and paste the following command, then press Enter:
Code:
/usr/sbin/curl --retry 3 "https://raw.githubusercontent.com/jackyaz/uiDivStats/master/uiDivStats.sh" -o "/jffs/scripts/uiDivStats" && chmod 0755 /jffs/scripts/uiDivStats && /jffs/scripts/uiDivStats install

Usage
WebUI

uiDivStats can be configured via the WebUI, in the LAN section.

CLI
To launch the uiDivStats menu after installation, use:
Code:
uiDivStats

If this does not work, you will need to use the full path:
Code:
/jffs/scripts/uiDivStats
 

Jack Yaz

Part of the Furniture
Screenshot
 

Jack Yaz

Part of the Furniture
Continuation of
 

Jack Yaz

Part of the Furniture
v2.3.0 is now available
Changelog:
  • NEW: Added feature to configure and update uiDivStats in the WebUI
  • NEW: Added feature to update daily stats in the WebUI
  • NEW: Added query log filter for type=65 queries to WebUI query log
  • NEW: querylog will attempt to clean up stale querylog processes
  • NEW: Added option to use logarithmic scale for charts, in addition to the default linear scale (credit to @dave14305 for adopting this in FlexQoS and inspiring me to add it)
  • IMPROVED: Query log in WebUI can now be sorted by clicking column headers
  • IMPROVED: WebUI help text if Diversion text stats report doesn't load
  • IMPROVED: Stat generation should be faster due to a new database index for client IPs (this will be created on update and may take some time)
  • CHANGED: Launch from post-mount on startup instead of services-start
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top