Re: (PM) Script to parse radius logs

Bryan Wann (bwann@cwis.net)
Sat, 27 Mar 1999 20:11:15 -0600 (CST)

On Sat, 27 Mar 1999, Brian Elfert wrote:

> I'm looking for a script to parse radius logs that will take one or more
> detail files and spit out a list of users and the number of hours used for
> each.
>
> I'm currently using something written by Carl Rigney, but it no longer
> reports the correct hours for everyone as I've grown to over 1300 unique
> usernames with a detail file of over 92 megs.

Why not throw them into a SQL database?

I take all of our detail files, turn them into one-line entries with
lineparser.pl (script I found on a web page somewhere), and then throw the
day's entries into a MySQL table.

---
Bryan Wann		bwann@cwis.net	
CWIS Internet Services	http://www.cwis.net 918-967-2858

Give a man a fish, he eats for a day; Teach a man to fish, he eats for a lifetime; Enlighten him further, and he opens a chain of seafood restaurants

- To unsubscribe, email 'majordomo@livingston.com' with 'unsubscribe portmaster-users' in the body of the message. Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>