![]() # iRedMail: update Awstats statistics for web hourlyġ */1 * * * /usr/bin/perl /usr/lib/cgi-bin/ -update -config=web >/dev/null I could not find anything log file wise specific to the cronjob not running. All other cron jobs are running without issue. error message at the top of the web page says "Never updated (See 'Build/Update' on awstats_setup.html page)", Reading through the forum seems to indicate an issue with the cron job, which are listed below. Trying to check statistics with awstats tonight and found out that it is not updating. Related original log or error message is required if you're experiencing an issue. Manage mail accounts with iRedAdmin-Pro? no Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql Linux/BSD distribution name and version: ubuntu 16.04 lts PS C:\Program Files (x86)\awstats-wmc\awstats-wmc\by AWStats version 7.0 (build 1.971)įrom data in log file “C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server 2.2.4\logs\wmconsulting_stats.log”.- iRedMail version (check /etc/iredmail-release): 0.9.7 LogFormat=“date time %method c-ip %referer %code %url sc-bytes filelength x-sname sc-stream-bytes cs-stream-bytes cs-uri-stem %extra1 %virtualname”Īfter I run the commend perl -config=default, I got: I have the following setting in conf file of awstats (The LogFormat that I set in log4j is the same. Other things like bytes, etc would be nice but i can roughly figure that out by the stream times. So I know the format is not correct in my string, but how can I match it up with the log4j output?Īll I would like to get is get the number of users, their stream times, and possibly unique user. If I falsely add method to one of the items in my string I get another error. (and some other config changes to exclude browser specific functions that are not needed)Įvery time i try to parse the log files with AWStats I get the following error: Error: Your personalized LogFormat does not include all fields required by AWStats (Add %methodurl or %method in your LogFormat string). LogFormat="%other %other %extraX date time %extraX c-ip %other %extraX %extraX x-duration cs-uri-stem %extraX %extraX sc-bytes %extraX %other %other %other %other" I have also set up my AWStats config file for one of the applications as follows: LogFile=" /path/to/app/log/wowzamediaserver_stats.log* |" | $field eq 'http' || $field eq 'RTP' )) _=comment There should be the line: elsif (($LogType eq 'W' || $LogType eq 'S') & ($field eq 'GET' || $field eq 'mms' || $field eq 'rtsp' | To fix this, you edit the file from AWStats. AWstats will reject all lines with the rtmp as protocol. The problem that then rises is that when you use rtmp streaming, it is not a valid protocol. ![]() So you have to edit the settings LogSeparator to ‘\t’ The logfile in wowza is tab delimeted, while AWStats defaults thinks that is space delimeted.The problem that is here going on are two things. I am already familair with AWStats, so that helps. Has anybody come up with the same problem? : c-ip date time x-sname x-status c-proto sc-stream-bytes Searching new records from beginning of log file…ĭropped record (method/protocol ‘c-proto’ not qualified when LogType=S): #Fields Phase 1 : First bypass old records, searching new record… Perl -config=test2 -update -showdroppedĬ:\Inetpub\SPS_stat\cgi-bin>perl -config=test2 -update -showdroppedĬreate/Update database for config “./” by AWStats version 6.7įrom data in log file "C:\Documents and Settings\jurera\Desktop\testni_wowza.log When I run perl update, all of my lines inside log files get dropped: || $field eq ‘rtmp’ || $field eq ‘rtmpt (HTTP-1.1)’ I’m not sure if I set the line specifying fields inside log file:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |