Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: SMiFFER on October 22, 2021, 07:42:27 AM

Title: Filtering the log files by IP ADDRESS
Post by: SMiFFER on October 22, 2021, 07:42:27 AM
In my attempt to weed out the forum logs (/index.php?action=admin;area=logs) I am facing a problem with IP-addresses.

I can filter by ONE (!) IP Address, example: /index.php?action=admin;area=logs;sa=errorlog;desc;filter=ip;value=17.121.112.34

But what I would like to filter is -speaking with this case- 17.121.112.*
How do I do that?

Or even 17.121-125.*
How do I do that?
Title: Re: Filtering the log files by IP ADDRESS
Post by: Kindred on October 22, 2021, 01:51:58 PM
no way to do it within SMF, AFAIK
Title: Re: Filtering the log files by IP ADDRESS
Post by: Doug Heffernan on October 22, 2021, 05:52:03 PM
Indeed. This will require a custom mod.
Title: Re: Filtering the log files by IP ADDRESS
Post by: albertlast on October 24, 2021, 04:55:18 AM
(should) works with smf 2.1
Title: Re: Filtering the log files by IP ADDRESS
Post by: shawnb61 on October 31, 2021, 12:13:02 PM
You can actually do this under Profile Info, under Track User, IP Address.

You can change the IP address into a range using the * as a wildcard, & it will show all error messages for that IP range - and list all users in that range.

It doesn't show all the logs, only the error log.