Skip to content
Hyojoon Kim edited this page Jul 27, 2017 · 9 revisions

Welcome to Globus Stats

This software pulls Globus endpoint usage logs from Globus.org using the Globus Python SDK library. Then in generates Globus usage statistics in a Comma-Separated-Value (CSV) format, which are then consumed by Google Chart API to create graph, charts, and tables to visualize the useful usage statistics. The graphs, charts, and tables are hosted on your web server. You can also put this web application behind a Central Authentication Service (CAS) server if you have one to restrict access to the displayed statistics.

Disclaimer and Notes

  • This software will display email addresses of your Globus endpoint users in its user statistics charts. Therefore, you might want to either (1) edit the PHP codes (index.php and per_dtn.php) to not display statistics of your users, or (2) put this web service behind a Central Authentication Service (CAS) server of your institute and further restrict with a list of authorized users (see optional features page), or (3) modify the PHP code so that it uses whatever other authentication and authorization method you want.
  • The original author and Princeton University are not responsible for any damage caused by running and/or deploying this software. The original author and Princeton University are also not responsible for any damage (such as security breach due to a bug or vulnerability in software, library, or code) while this software is running and/or deployed anywhere by a user.
  • However, the author has made efforts to create a reliable and secure software, and will continue to do so. Feedback, suggestions, and code contribution are all welcomed!
  • This work is licensed under the GNU General Public License v3.0.

Prerequisites

  • Environment to run Python code (tested with v2.7).
  • Python libraries: Pytz and Goblus-python-sdk
  • Web server with PHP (tested with EasyApache PHP 5.6 with cPanel, ea-php56).

Demo website

Setup Walkthrough

  1. Creating a Globus App that will pull usage logs
  2. Running the Python script
  3. Setting up a website for hosting charts
  4. (Optional) Features you might want to add