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

Analytics: "plays" count not working

$
0
0

@jess thank you for response.
according to the document, describe the status of my circumstances.

  1. ‘locks’ table

    mysql> select * from kalturadw_ds.locks ;
    ±--------±--------------------±--------------------±-----------+
    | lock_id | lock_name | lock_time | lock_state |
    ±--------±--------------------±--------------------±-----------+
    | 1 | hourly_435c85d0850d | 2018-10-11 05:11:40 | 0 |
    | 2 | retention_lock | 2018-10-11 12:30:25 | 0 |
    ±--------±--------------------±--------------------±-----------+
    2 rows in set (0.00 sec)

  2. ‘files’ table

    mysql> select * from kalturadw_ds.files;
    ±--------±-------------------------------------------------------±------------±------------±--------------------±---------±--------------±------±----------±-------------±-----------±---------±-------------------±-------+
    | file_id | file_name | file_status | prev_status | insert_time | run_time | transfer_time | lines | err_lines | file_size_kb | process_id | cycle_id | compression_suffix | subdir |
    ±--------±-------------------------------------------------------±------------±------------±--------------------±---------±--------------±------±----------±-------------±-----------±---------±-------------------±-------+
    | 1 | 435c85d0850d-kaltura_apache_access_ssl.log-20181011-01 | IN_CYCLE | NULL | 2018-10-11 01:53:43 | NULL | NULL | NULL | NULL | 8 | 1 | 1 | gz | |
    | 2 | 435c85d0850d-kaltura_apache_access.log-20181011-04 | IN_CYCLE | NULL | 2018-10-11 05:00:42 | NULL | NULL | NULL | NULL | 0 | 1 | 2 | gz | |
    | 3 | 435c85d0850d-kaltura_apache_access_ssl.log-20181011-04 | IN_CYCLE | NULL | 2018-10-11 05:00:42 | NULL | NULL | NULL | NULL | 121 | 1 | 2 | gz | |
    ±--------±-------------------------------------------------------±------------±------------±--------------------±---------±--------------±------±----------±-------------±-----------±---------±-------------------±-------+
    3 rows in set (0.02 sec)

  3. ‘dwh_fact_events’ table

    ±--------±---------±--------------±---------------±--------------------±--------------±--------------±-------------------------------------±-----------±-----------±--------------±----------±-----------±-----±--------------±---------±----------------±---------------±-----------±------------±-----------------±-----------±-----±----------±----------±--------------------±-----------------±------------±------±-----------±-----------±--------±---------------+
    | file_id | event_id | event_type_id | client_version | event_time | event_date_id | event_hour_id | session_id | partner_id | entry_id | unique_viewer | widget_id | ui_conf_id | uid | current_point | duration | user_ip | user_ip_number | country_id | location_id | process_duration | control_id | seek | new_point | domain_id | entry_media_type_id | entry_partner_id | referrer_id | os_id | browser_id | context_id | user_id | application_id |
    ±--------±---------±--------------±---------------±--------------------±--------------±--------------±-------------------------------------±-----------±-----------±--------------±----------±-----------±-----±--------------±---------±----------------±---------------±-----------±------------±-----------------±-----------±-----±----------±----------±--------------------±-----------------±------------±------±-----------±-----------±--------±---------------+
    | 3 | 5584 | 2 | 2.71.2 | 2018-10-11 04:29:41 | 20181011 | 4 | bc1a123f-b897-5693-df53-d37ca7dc6148 | 102 | 0_8a7wa7gk | | _102 | 23448125 | | 0 | 0 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 1 | 1 | 1 | -1 | 2 | 0 |
    | 3 | 5601 | 2 | 2.71.2 | 2018-10-11 04:29:44 | 20181011 | 4 | e74ad85f-8921-4ec4-a126-5380bdae962d | 102 | 0_8a7wa7gk | | _102 | 23448171 | | 0 | 0 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 1 | 1 | 1 | -1 | 2 | 0 |
    | 3 | 5618 | 2 | 2.71.2 | 2018-10-11 04:29:48 | 20181011 | 4 | 69ede276-8d6c-b321-e743-8aa3e74d1461 | 102 | 0_8a7wa7gk | | _102 | 23448171 | | 0 | 0 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 2 | 1 | 1 | -1 | 0 | 0 |
    | 3 | 5625 | 3 | 2.71.2 | 2018-10-11 04:29:51 | 20181011 | 4 | 69ede276-8d6c-b321-e743-8aa3e74d1461 | 102 | 0_8a7wa7gk | | _102 | 23448171 | | 0 | 2 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 2 | 1 | 1 | -1 | 0 | 0 |
    | 3 | 5627 | 4 | 2.71.2 | 2018-10-11 04:29:51 | 20181011 | 4 | 69ede276-8d6c-b321-e743-8aa3e74d1461 | 102 | 0_8a7wa7gk | | _102 | 23448171 | | 506 | 2 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 2 | 1 | 1 | -1 | 0 | 0 |
    | 3 | 5629 | 17 | 2.71.2 | 2018-10-11 04:29:52 | 20181011 | 4 | 69ede276-8d6c-b321-e743-8aa3e74d1461 | 102 | 0_8a7wa7gk | | _102 | 23448171 | | 1002 | 2 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 2 | 1 | 1 | -1 | 0 | 0 |
    | 3 | 5630 | 5 | 2.71.2 | 2018-10-11 04:29:52 | 20181011 | 4 | 69ede276-8d6c-b321-e743-8aa3e74d1461 | 102 | 0_8a7wa7gk | | _102 | 23448171 | | 1004 | 2 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 2 | 1 | 1 | -1 | 0 | 0 |
    | 3 | 5632 | 6 | 2.71.2 | 2018-10-11 04:29:52 | 20181011 | 4 | 69ede276-8d6c-b321-e743-8aa3e74d1461 | 102 | 0_8a7wa7gk | | _102 | 23448171 | | 1744 | 2 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 2 | 1 | 1 | -1 | 0 | 0 |
    | 3 | 5634 | 7 | 2.71.2 | 2018-10-11 04:29:53 | 20181011 | 4 | 69ede276-8d6c-b321-e743-8aa3e74d1461 | 102
    | 0_8a7wa7gk | | _102 | 23448171 | | 1995 | 2 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 2 | 1 | 1 | -1 | 0 | 0 |
    | 3 | 5638 | 16 | 2.71.2 | 2018-10-11 04:29:54 | 20181011 | 4 | 69ede276-8d6c-b321-e743-8aa3e74d1461 | 102 | 0_8a7wa7gk | | _102 | 23448171 | | 10 | 2 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 2 | 1 | 1 | -1 | 0 | 0 |
    | 3 | 5639 | 17 | 2.71.2 | 2018-10-11 04:29:54 | 20181011 | 4 | 69ede276-8d6c-b321-e743-8aa3e74d1461 | 102 | 0_8a7wa7gk | | _102 | 23448171 | | 0 | 2 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 2 | 1 | 1 | -1 | 0 | 0 |
    | 3 | 5643 | 16 | 2.71.2 | 2018-10-11 04:29:56 | 20181011 | 4 | 69ede276-8d6c-b321-e743-8aa3e74d1461 | 102 | 0_8a7wa7gk | | _102 | 23448171 | | 10 | 2 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 2 | 1 | 1 | -1 | 0 | 0 |
    | 3 | 5648 | 16 | 2.71.2 | 2018-10-11 04:29:59 | 20181011 | 4 | 69ede276-8d6c-b321-e743-8aa3e74d1461 | 102 | 0_8a7wa7gk | | _102 | 23448171 | | 10 | 2 | 119.173.203.182 | 2007878582 | 45 | 45 | 0 | -1 | 0 | -1 | 1 | -1 | -1 | 2 | 1 | 1 | -1 | 0 | 0 |
    ±--------±---------±--------------±---------------±--------------------±--------------±--------------±-------------------------------------±-----------±-----------±--------------±----------±-----------±-----±--------------±---------±----------------±---------------±-----------±------------±-----------------±-----------±-----±----------±----------±--------------------±-----------------±------------±------±-----------±-----------±--------±---------------+
    13 rows in set (0.00 sec)

and I’ve now checked dwh_plays_views_sync.sh behavior.

mysql -h$DWH_HOST -P$DWH_PORT -u$DWH_USER -p$DWH_PASS < $BASE_DIR/app/alpha/scripts/dwh/trigger.sql

nothing outputed.


Viewing all articles
Browse latest Browse all 7410

Trending Articles