View Single Post
Mavrick4283
Veteran Member
Join Date: Apr 2010
Old 11-23-2012 , 13:58   Re: Frequently Asked Questions (FAQ)
#8

Q: Can I import earlier created log files into the database?
Q: Is it possible to run hlstatsx:ce without realtime updating?
Q: Can I ftp my files over from an other machine to import them into the database?

A: Yes!


To do this manually on a linux host, you would use the follow syntax

From the hlstats.pl directory
Code:
cat /path/to/logfiles/* | /usr/bin/perl ./hlstats.pl -s -t --norcon --server-ip YourServerIp --server-port 27015
On Windows
Code:
type c:\path\to\logfiles\*.log | c:\path\to\perl.exe c:\path\to\hlstats.pl -s -t --norcon --server-ip YourServerIp --server-port 27015
Also, Woody has made a wonderful perl tool which allows you all to do this automatically through ftp. As of 1.6.1 this tool is included in "scripts/hlstatsftp".
__________________
Mavrick4283 is offline