| View previous topic :: View next topic |
| Author |
Message |
marvz Halfop
Joined: 18 Jun 2010 Posts: 64
|
Posted: Sat Aug 21, 2010 5:24 pm Post subject: Pisg Top Lines and Daily, Weekly, Monthly and Yearly stats? |
|
|
I setup pisg and its running fine. I happened to be checking out the examples page that they have and looked at this page: http://www.df7cb.de/irc/pisg/pisg-month.html I want to created the pages to monitor the dailt/weekly/monthly/yearly for my stats page but I can't figure it out. ANy help on this one would be greatly appreciated!
| Code: | OutputTag
Name
OutputTag -- tag to insert into OutputFile
Synopsis
<channel="#channel">
LogDir = "logs/"
Format = "eggdrop"
OutputFile = "mychan%t.html"
OutputTag = "-week"
</channel>
<set OutputTag="-week">
Description
OutputTag specifies a string that will replace occurrences of "%t" in OutputFile. This option is most useful when used as a command line switch (-t) to pisg in conjunction with NFiles (-nf). Example:
$ pisg -co pisg.conf
$ pisg -co pisg.conf -nf 8 -t -week
Leaving out the OutputTag settings from the above pisg.conf snippet, this writes both the full statistics (mychan.html) and statistics for the last week (mychan-week.html) using the same pisg config file. (Assuming that there are separate logfiles for each day.)
Default
unset
NFiles
Name
NFiles -- parse only the last files in LogDir
Synopsis
<channel="#channel">
LogDir="/home/foo/eggdrop/logs/"
NFiles="8"
Format="eggdrop"
</channel>
<set NFiles="8">
Description
When NFiles is set to a positive integer, pisg will process only the last that much logfiles from Logfile and LogDir options. Useful to create statistics that cover the last week or month (assuming there are separate logfile per day/week/etc.).
Default
0 (process all files)
|
Also, by default the script orders the nicks by the Top Words rather than the Top Lines. Is there a way to have it order the nicks by Top Lines rather than top words?
Thanks in advance for any suggestions/help.[/code] |
|
| Back to top |
|
 |
devilsoulblack Halfop

Joined: 19 Nov 2003 Posts: 62 Location: Chile
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|