PathwayCommons / cpath2

Biological pathway data integration and access platform (Pathway Commons)
http://www.pathwaycommons.org/pc2/
MIT License
6 stars 5 forks source link

Track PC web service events in GA instead ELK #293

Closed IgorRodchenkov closed 6 years ago

IgorRodchenkov commented 6 years ago

See Google Analytics Measurement Protocol and MP Parameters Reference.

We could turn PC2 log into GA hits (page views and events) using MP parameters, such as: v (=1), t, tid, uip, cg1, dp, dt, ds, ec, ea, el, an (e.g., can try this).

And an example code (can be simpler, using only http-client or Spring RestTemplate.)

IgorRodchenkov commented 6 years ago

It was exciting to learn and experiment, but it did not quite work for me after all. I think, Google Analytics is probably not a suitable tool for PC service/data access tracking and analysis (and we also have previous years data to be converted and uploaded, which also would require making custom dimensions (time), filters, reports and views; i.e, standard google-analytics dashboards and reports would not help much). So let's keep using Elastic tools (elasticsearch, filebeats, kibana).

Closed.