How are you all monitoring or measuring how much usage your OOD portals are getting? We can tell how many jobs are submitted through our portal but not how many users are logging in and transferring files, using the shell, or just monitoring their jobs.
If this is already asked and answered, I apologize! I thought I saw it somewhere but couldn’t find it in discourse or old mailing list emails.
to the /etc/ood/config/ood_portal.yml config file and regenerate the Apache config, which in turn simply produces these directives at the bottom of <Location "/pun">:
The result is a bunch of information about each request is sent to Google Analytics. Now I think in order for this to work you need to setup some extra custom fields in the Analytics property. I can hunt down the documentation for this if you are interested. The corresponding lua code that sends this information is here.
That said, this would only work for future requests. All of the same information that is optionally sent to Google Analytics is now also logged to /var/log/httpd24/yourondemand.domain.edu_error_ssl.log and this can be consumed in Splunk or another analytics tool and you can do searches. Here is an example log from a request to the AweSim dashboard (an OnDemand instance at OSC):
If you do searches, you will want to play games with the req_uri value since you might only be interested in knowing a request to the Dashboard app (req_uri="/pun/sys/dashboard") occurred by a user on a particular day, and omit the extra requests for things like images and css etc. (where the req_uri’s all are prefixed with /pun/sys/dashboard).
I’m happy to share example Splunk search strings using this data if it would be helpful.