Quantcast
Channel: Kaltura - Latest posts
Viewing all articles
Browse latest Browse all 7410

DWH Analytics issue

$
0
0

Hi @razvan_iacob,

Look at /opt/kaltura/app/configurations/logrotate/kaltura_apache

/opt/kaltura/log/kaltura_apache_access.log {
 rotate 5
 daily
 missingok
 compress
 dateext
 notifempty
 lastaction
 mv /opt/kaltura/log/kaltura_apache_access.log-`/bin/date +%Y%m%d`.gz /opt/kaltura/web/logs/`hostname`-kaltura_apache_access.log-`/bin/date +%Y%m%d-%H`.gz
 service apache2 reload
 endscript
 su root kaltura
}

This line:

mv /opt/kaltura/log/kaltura_apache_access.log-`/bin/date +%Y%m%d`.gz /opt/kaltura/web/logs/`hostname`-kaltura_apache_access.log-`/bin/date +%Y%m%d-%H`.gz

Moves the access logs per node onto the NFS under /opt/kaltura/web/logs/ which should be mounted on the DWH node, the DWH node, knows where to find them because of /opt/kaltura/dwh/.kettle/kettle.properties:

EventsLogsDir = /opt/kaltura/web/logs
EventsWildcard = .*kaltura.*_access.*.log-.*

Viewing all articles
Browse latest Browse all 7410

Trending Articles