FORMATS 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  1. Supported logfile formats by pisg
  2. =================================
  3. This file contains a list of the different logfile formats which pisg
  4. supports. It also includes a sample line for these formats.
  5. If you don't have access to any of the clients/bots or you use some other
  6. IRC client/bot which isn't supported, then it's fairly easy to add support
  7. for a new IRC log format if you have some Perl knowledge, take a look at
  8. modules/Pisg/Parser/Format/Template.pm. If you don't have any Perl
  9. knowledge, then mail a sample logfile to the mailinglist (preferred as a
  10. link to the logfile)
  11. mIRC6
  12. -----
  13. - Version 6.x of mIRC
  14. - Same as mIRC except it uses a retarded logging format that makes modes
  15. indeciperable from actions (which is a nightmare to parse)
  16. - DON'T USE IT if you can avoid it, it doesn't do very well at understanding
  17. modes (see the "mIRC6hack" format)
  18. - In order to use this, format must be set to 'mIRC6'.
  19. - Remember to timestamp your logs, or it wont work, the timestamp must be
  20. in [HH:MM] or [HH:MM:SS] format. (logging options -> timestamp logs)
  21. mIRC6hack
  22. ---------
  23. - Version 6.x of mIRC using a logging script to produce a saner output
  24. - Same as mIRC6 except it uses '**' for actions
  25. - In order to use this, format must be set to 'mIRC6hack', and the following
  26. be added to mIRC's remote script section (Alt-R -> Remote): (thanks to
  27. virtuall and coaster)
  28. ------------------------------8<------------------------------
  29. alias me {
  30. if ($1) {
  31. .describe $active $1-
  32. echo $color(own) -qt $active ** $me $1-
  33. }
  34. else {
  35. echo $color(info) $active * /me: insufficient parameters
  36. }
  37. }
  38. on ^*:ACTION:*:*:{
  39. echo $color(action) -lt $iif($chan,$chan,$nick) ** $nick $1-
  40. haltdef
  41. }
  42. ------------------------------>8------------------------------
  43. mIRC
  44. ----
  45. - A client for Windows (www.mirc.com)
  46. - If you want to create mIRC logfiles with your eggdrop, you can get some TCL
  47. which does it all for you (also logrotating and much more).
  48. - MEL (mIRCStats Eggdrop Logger) can be downloaded from the following URL:
  49. http://mel.angelbears.org/
  50. - Remember to timestamp your logs, or it wont work, the timestamp must be
  51. in [HH:MM] or [HH:MM:SS] format.
  52. - In order to use this, format must be set to 'mIRC'.
  53. Example:
  54. [23:44] <Christina> Hello world
  55. XChat
  56. -----
  57. - A client for Linux (www.xchat.org)
  58. - In order to use this, format must be set to 'xchat'.
  59. - Both the old logformat, and the new logformat from 1.8.7 and above is
  60. supported.
  61. Example of old logformat:
  62. 18:01:43 <Ben> Hello world
  63. Example of new logformat:
  64. jan 13 04:39:42 <Ben> Hello World
  65. XChat has changed its logformat again in early 2005. The "brand new" format
  66. is broken in the same way as the mIRC6 format in that it is now impossible to
  67. tell actions from real events. Additionally, the format of the lines in the
  68. log changed. It is possible to revert to the previous format (the one that
  69. pisg understands) by using the old text theme:
  70. http://xchat.org/files/themes/blacktheme.zip
  71. Eggdrop
  72. -------
  73. - A cool and advanced IRC bot for Linux (www.eggheads.org)
  74. - In order to use this, format must be set to 'eggdrop'.
  75. You might want to change the logfile-suffix in order for pisg to parse the
  76. files in the correct order when using 'logdir':
  77. set logfile-suffix ".%Y%m%d" instead of the standard format
  78. set logfile-suffix ".%d%b%Y".
  79. Example:
  80. [00:02] <Jenny> Hello world
  81. Grufti
  82. ------
  83. - A bot which I'm not really familiar with (www.grufti.com)
  84. - The author has actually made something like pisg called 'gruftistats',
  85. but someone mailed me and told me that it hadn't been maintained for
  86. over a year, and it had some problems..
  87. - In order to use this, format must be set to 'grufti'
  88. Example:
  89. [00:17] <John> Hello world
  90. bxlog
  91. -----
  92. - A logging script for BitchX (console client - see scripts.bitchx.com)
  93. - In order to use this, format must be set to 'bxlog'
  94. - The bxlog-pisg.bx file in the scripts directory might be useful.
  95. Example:
  96. [31 Dec/11:26] <John> Hello world
  97. mbot
  98. ----
  99. - C-Based IRC Bot (http://darksun.com.pt/mbot/)
  100. - In the configuration file, timemode must be set to '1'
  101. - In order to use this, format must be set to 'mbot'
  102. Example:
  103. Thu Aug 23 12:59:40 2001 <John> Hello world
  104. irssi
  105. -----
  106. - Console IRC client (www.irssi.org)
  107. - Logfiles must be using the default theme in irssi.
  108. (The "(real name)" added by autorealname.pl is ok.)
  109. - In order to use this, format must be set to 'irssi'.
  110. - This format also works for ii (wmii) logs.
  111. Example:
  112. 17:40 <@John> Hello world
  113. psybnc
  114. ------
  115. - IRC bouncer (http://www.psychoid.lam3rz.de/)
  116. - In order to use this, format must be set to 'psybnc'
  117. Example:
  118. 2001-08-19-23-14-06:#LINUX.DE::stelb!user@host.org PRIVMSG #linux.de :hi!
  119. winbot
  120. ------
  121. - Windows-based IRC bot (http://www.winbot.co.uk/)
  122. - In order to use this, format must be set to 'winbot'
  123. Example:
  124. 15:32.58 17/10/2001 <Azhrarn/#darkgalaxy> This is a normal line.
  125. zbot
  126. ----
  127. - Bot written in C++ (http://zcbot.sourceforge.net/)
  128. - In order to use this, format must be set to 'zcbot'
  129. Example:
  130. 12/11/01 22:05:42 :Keitaro!KOala_v5@EVYRV4A4.ipt.aol.com PRIVMSG #alsa-station :Re all :-)
  131. ircle
  132. -----
  133. - IRC client for Mac OS X
  134. - Support for this format is not completely done yet.
  135. - In order to use this, format must be set to 'ircle'
  136. Example:
  137. 6:35 PM: Sinnikal: thats gross
  138. infobot
  139. -------
  140. - bot written in Perl (http://www.infobot.org)
  141. - In order to use this, format must be set to 'infobot'
  142. Trillian
  143. --------
  144. - Trillian's IRC component. (http://www.trillian.cc)
  145. - Note: Your Logs must be timestamped in the format [%h:%m] or [%h:%m:%s]
  146. This is set in Preferences -> General -> Windows -> Display in your Trillian Client
  147. - Tested with Trillian Version 0.70
  148. - In order to use this, format must be set to 'Trillian'
  149. bobot++
  150. -------
  151. - IRC bot written in C++. (http://pltplp.net/bobot++/)
  152. - In order to use this, format must be set to 'bobot'
  153. Example:
  154. [13/12/2001 - 20:38] <NazoZzz> hello world
  155. axur/epic
  156. ---------
  157. - A unix shell client similar to bitchx but not quite.
  158. - EPIC is available at http://www.epicsol.org/
  159. - AXUR script for EPIC is available at
  160. http://www.asciifun.com/images/axur-2000.tar.gz or ax-b12r2.tar.gz
  161. axur/epic logs with two formats at once, one for normal users
  162. and one for the actual client doing the logging. Why? no idea.
  163. The normal format is of:
  164. [MM/DD/YYYY @ HH:MM:SS] <nick> saying
  165. [MM/DD/YYYY @ HH:MM:SS] * nick does some action here
  166. The loggers format is of:
  167. [MM/DD/YYYY @ HH:MM:SS] >(logger) saying
  168. [MM/DD/YYYY @ HH:MM:SS] >* logger does some action here
  169. Both are supported.
  170. Perlbot
  171. -------
  172. - A bot which written in perl that supports loadable modules
  173. (http://perlbot.sourceforge.net)
  174. - It also has some modules for searching logs and some perl scripts
  175. for searching and browsing the log files.
  176. (See examples at http://stats.978.org)
  177. - Development on the bot seems to have stopped. I did need to edit it
  178. a bit to get it to log actions correctly.
  179. - In order to use this, format must be set to 'perlbot'
  180. Example:
  181. 13:22:57 <Sc00ter> bah, gotta run to the store
  182. oer / oer+MySQL
  183. ---------------
  184. - Bot written in C (http://oer.equnet.org/)
  185. - In order to use this, format must be set to 'oer'
  186. - oer support isn't finished, the example lines won't work so I suggest you
  187. set the following options in your config:
  188. <set show_kickline="0">
  189. <set show_actionline="0">
  190. <set show_shoutline="0">
  191. <set show_violentlines="0">
  192. - For a detailed description see:
  193. http://faq.equnet.org/?area=b2VyIGFuZCBvZXIrTXlTUUwgRkFR&id=35&lang=en
  194. Example:
  195. 1010866756 :EQU!equ@mira.equnet.org PRIVMSG #oer :test for mbrix
  196. muh
  197. ---
  198. - A bouncer for unix/linux (http://mind.riot.org/muh/)
  199. - In order to use this, format must be set to 'muh'.
  200. Since you can configure the log-format as you want to, the standard-format
  201. is used for parsing.
  202. In order to set it correctly add this to you muhrc:
  203. timestamptemplate = "[%a %d %b %H:%M:%S]";
  204. Example:
  205. [Sat 16 Mar 21:24:09] <pete> hello everybody
  206. muh2
  207. ----
  208. - muh is a bouncer from muh.sf.net
  209. - muh2 is for the new version 2.2, see 'muh' for older versions.
  210. - In order to use this, format must be set to 'muh2'.
  211. Example:
  212. [11:23] <boitl> Hello world
  213. [11:24] * carmen means that she is nice
  214. Energymech
  215. ----------
  216. - An irc bot written in C which is currently beeing developed.
  217. - In order to use this, format must be set to 'energymech'.
  218. - Energymech is available at http://www.energymech.net or (better)
  219. at http://cvs.energymech.net
  220. Example:
  221. [00:02] <Jenny> Hello world
  222. [00:04] Joins: vjaway (vector@p5086F6EF.dip.t-dialin.net)
  223. Dancer
  224. ------
  225. - Bot written in C (http://dancer.sourceforge.net/)
  226. - In order to use this, format must be set to 'dancer'
  227. Example:
  228. 15.57.40 # <elho> hello world!
  229. ViRC98
  230. ------
  231. - A client for Windows (http://www.hansprestige.com)
  232. at this time is ViRC2.0rc1
  233. maybe the type of logs will change
  234. - Remember to timestamp your logs, or it wont work, activate it by checking
  235. "Client setup/ViRC '98 options/Chat logging/ (Miscellaneous logging
  236. options) Stamp every message logged with current time"
  237. - In order to use this, format must be set to 'virc98'.
  238. Examples:
  239. 01.15.39 [Fender] this is a normal line writen by myself
  240. 00.55.38 <@jax1n0^O> this is a normal line writen by another
  241. 22.24.27 * Fender says an action
  242. pircbot
  243. -------
  244. - PircBot is a framework for an IRC Bot written in Java. It allows you to
  245. create your own custom IRC Bots using Java by building on the framework
  246. that is already provided by the PircBot.
  247. - Homepage: http://www.jibble.org/pircbot.php
  248. - In order to use this, format must be set to 'pircbot'.
  249. - Parses all data written by the bot as written by the nick assigned to 'maintainer'
  250. - Logs are timestamped with MILISECONDS since the epoch
  251. Example:
  252. 1013630386748 :nick!ident@hostname PRIVMSG #channel :Hello world.
  253. Eggdrop RacBot
  254. --------------
  255. - the Eggdrop RacBot is an IRC bot, which dreived from the original eggdrop
  256. sources (see http://www.eggheads.org)
  257. - Homepage: http://www.racbot.org/
  258. - In order to use this, format must be set to 'RacBot'.
  259. KVIrc
  260. -----
  261. - A KDE client for Linux (http://www.kvirc.net/)
  262. - Support for this format is not completely done yet, actions and -/+o
  263. modes are not detected, so you should add to you config file:
  264. <set show_actionline="0">
  265. - Supports logs from version 2.x.x. v3.x.x or former versions has
  266. not been tested.
  267. - In order to use this, format must be set to 'kvirc'.
  268. Example:
  269. ### Log session started at Thu Aug 23 17:25:36 2001 ###
  270. [17:25:36] wwp [anonymous@AMontpellier-201-2-1-77.abo.wanadoo.fr] has joined #ECI
  271. [17:25:47] <wwp> yop
  272. ### Log session terminated at Sun Sep 9 22:56:51 2001 ###
  273. moobot
  274. ------
  275. - Python-based, modular IRC bot. <http://sourceforge.net/projects/moobot>
  276. - Turn on logging by adding an entry to the data table with type = 'logtype'
  277. and data = 'file' or 'date'. Add another entry with type = 'logfile' and
  278. data = the name of the file if type == 'file' or a string to be passed to
  279. strftime if type == 'date'.
  280. - The format name is "moobot".
  281. - All nicks are logged with their hostmasks, with the exception of those
  282. from the bot itself. (This may change in the future to have the bot's
  283. hostmask, too.)
  284. - Examples:
  285. 2002-07-06 00:05:29 :vergil!~vergil@host PUBMSG #space :mike_lap: i'm not joking, actually.
  286. 2002-07-04 15:56:19 :SpaceBot PUBMSG #space :huh?
  287. 2002-07-06 00:07:30 :vergil!~vergil@host CTCP #space :ACTION salutes
  288. 2002-07-18 10:37:18 :jeffcovey!~jeff@host KICK #space vergil :two days in a row!
  289. 2002-07-06.log:2002-07-06 12:07:41 :phil_tty!mjpr@host TOPIC #space :<She-Ra> of course, god can go to rotters, for all she's managed not to do for me
  290. 2002-07-04 17:34:01 :jeffcovey!~jeff@host MODE #space +o CowBot
  291. 2002-07-04 12:02:42 :Leebert!~lsherida@host JOIN :#space
  292. 2002-07-04 18:24:18 :mike_lap!~emag@host NICK :Cathy
  293. ircII
  294. -----
  295. - The original IRC client (http://www.eterna.com.au/ircii/)
  296. - In order to use this, format must be set to 'ircII'
  297. - You need to add a few on triggers to your .ircrc:
  298. on #^timer 50 "*0" echo $0
  299. on #^timer 50 "*5" echo $0
  300. to mark the time. They can be adjusted to taste (the above lines mark every
  301. 5 minutes), with the main effect being the topic change times will only
  302. accurate to how often the time is marked.
  303. - The config option "Maintainer" needs to be set to the maintainer's nick
  304. Example:
  305. 22:40
  306. *** sonnlich (sonnloki@202.72.122.25348) has joined channel #unisfa
  307. * sonnlich waves.
  308. > evening rae
  309. <sonnlich> Evening.
  310. DC++
  311. ----
  312. - Direct Connect Hub
  313. - In order to use this, format must be set to 'DCpp'
  314. - Not an IRC logger, rather a shared network botnet log
  315. - You MUST put botnicks into botnicks variable if you want to see kicks
  316. Example:
  317. <set botnicks="bot1 bot2 MainBot">
  318. sirc
  319. ----
  320. - Simple IRC Client (http://www.iagora.com/~espel/sirc.html)
  321. - In order to use this, format must be set to 'sirc'
  322. - You must also load the sirc-timestamp.pl script in the scripts subdirectory
  323. into sirc (/load sirc-timestamp.pl after copying to appropriate location)
  324. dircproxy
  325. ---------
  326. - Detachable IRC Proxy Server (http://www.dircproxy.net/)
  327. - In order to use this, format must be set to 'dircproxy'
  328. - Currently does not recognize nick changes - apparently it logs nick changes
  329. to a separate file. As a result, nick tracking will not work.
  330. - This parser recognize both the 1.0.5 and the 1.1.0 log format.
  331. blootbot
  332. --------
  333. - supports multiple channels, though the log will be parsed once for each
  334. channel
  335. - http://blootbot.sourceforge.net/
  336. - In order to use this, format must be set to 'blootbot'
  337. Example: (also in the parser module)
  338. 01:02.03 <nick/#channel> normal
  339. 01:02.03 * nick/#channel action
  340. 01:02.03 >>> topic/#channel by nick -> topic...
  341. 01:02.03 >>> mode/#channel [+o nick] by ChanServ
  342. 01:02.03 >>> join/#channel nick (~user@example.com)
  343. 01:02.03 >>> kick/#channel [nick!~user@example.com] by nick (reason)
  344. 01:02.03 >>> nick_ materializes into nick
  345. HydraIRC
  346. --------
  347. - HydraIRC is an open-source IRC client with an attractive and easy to use
  348. interface
  349. - http://hydrairc.sourceforge.net/
  350. - In order to use this, format must be set to 'hydra'
  351. Example:
  352. [2003-02-22 16:49:18] *** Alexander changed topic to wibble
  353. [2003-02-22 16:52:29] <Alexander> Sorry about the delay.
  354. [2003-02-22 16:52:33] <Eien> Slow. Waking. Up.
  355. [2003-02-22 16:52:34] *** Melody sets channel #ar-roleplay mode +v Alexander
  356. [2003-02-22 16:58:57] *** Kemmy|ZZZ changed nick to Kemayo
  357. [2003-02-22 17:03:34] * Alexander stirs Eien's brain. "Cooooooool..."
  358. rbot
  359. ----
  360. - rbot is a ruby IRC bot. Think of him as a ruby
  361. infobot, with more and different features, and a nicer plugin scheme.
  362. - http://linuxbrit.co.uk/rbot/
  363. - In order to use this, format must be set to 'rbot'
  364. Example:
  365. [2003/07/22 22:02:59] <Rathnor> well, i'm considering setting up a cronjob or something to watch it
  366. [2003/07/22 22:03:11] <ak|ra> hehe
  367. [2003/07/22 22:03:24] @ Mode +o Rathnor by ChanServ
  368. [2003/07/22 22:03:25] @ Quit: oddbudman: Remote closed the connection
  369. [2003/07/22 22:03:29] <FluxBot> Rathnor: :(
  370. IRCAP
  371. -----
  372. - Version 7.5 or 7.51 of IRCAP (www.ircap.com or www.ircap.net).
  373. - mIRC version 6.03 or 6.12 (this are the mIRC versions required by IRCAP, so not really a parser requirement).
  374. - Timestamp logs activated in mIRC:
  375. Enter Options (inside File -mIRC6.03- or Tools -mIRC6.12-), IRC->Logging and check Timestamp Logs.
  376. - To use this, format must be set to 'IRCAP'.
  377. Example:
  378. [2:51] <Lawy> a las wenassssssssss
  379. [2:51] <Lawy> [ArCePi] nas nas
  380. [2:51] <Lawy> [BruJo] wenas
  381. [2:51] <Danaita> lawyyyy
  382. Vision
  383. ------
  384. - An irc client for BeOS ( http://vision.sourceforge.net and http://www.bebits.com/app/2623 )
  385. - Timestamping has to be enabled in the preferences
  386. - The messages Vision displays for joins/parts/topic changes etc, is fully
  387. user configurable, this parses the default messages. If you have changed
  388. them in the preferences you have to edit the parser to reflect the changes.
  389. - In order to use this, format must be set to 'Vision'
  390. Supybot
  391. -------
  392. - http://supybot.sf.net
  393. - Version tested with 0.77
  394. - Log format :
  395. normal msg: [05-Mar-2004 17:28:10] * Jkx|home bon je vais pas trainer ..
  396. channel msg: [17-Feb-2004 08:13:47] *** Jkx changes topic to "Oh my god of topic
  397. JavaBot
  398. -------
  399. - http://javabot.sourceforge.net
  400. - Version has to be 0.3.3 or newer
  401. - To use this, format must be set to javabot
  402. - Example:
  403. maj 07 21:11:44 <CreoN> a regular line
  404. maj 07 21:12:02 ---     CreoN sets mode +o scalldog
  405. maj 07 21:12:05 <--     CreoN has kicked JavaBot (JavaBot)
  406. maj 07 21:12:06 -->     JavaBot (~javabot@host.com) has joined #channel
  407. lulubot
  408. -------
  409. - http://lulubot.berlios.de
  410. - Version tested with the CVS the 12/04/04
  411. - Log format :
  412. [22-11-2004/14:42] *** Joined ace (~ace@154.25.145.85)
  413. [22-11-2004/15:00] <ace> morning
  414. [22-11-2004/15:01] * ace is back
  415. - Parser written by Vianney Lecroart <acemtp@free.fr>
  416. weechat, weechat3
  417. -----------------
  418. - http://weechat.flashtux.org/
  419. - There are two parsers, one for the old log format ("weechat"), and one for
  420. the new format starting from version 0.3 ("weechat3").