Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.39 KB

HOWTO Get statistics data from SimpleSAMLphp IdP.md

File metadata and controls

31 lines (22 loc) · 1.39 KB

HOWTO Get statistics data from SimpleSAMLphp IdP

This HOWTO is applicable for those who have enabled the Authentication Process Filter "statistics:StatisticsWithAttribute" but not the SimpleSAMLphp statistics module on the Identity Provider.

To determine if your SimpleSAMLphp installation has the required Authentication Process Filter enabled, which is required by this HOWTO, check the following files:

  • config/config.php
  • metadata/saml20-idp-hosted.php

Those who already use SimpleSAMLphp statistics module and statistics:StatisticsWithAttribute authentication process do not need to follow this HOWTO.

Instructions

  1. Follow the steps provided here: https://github.com/ConsortiumGARR/ssp-statistics-parser

  2. By considering only the "AlignedMonth" of "SSO to service", generate a files named idp-$(dnsdomainname)-sso-stat-<YEAR><MONTH>.json (es.: idp-garr.it-sso-stat-202009.json) for each month requested with the JSON format:

    {
     "logins_per_rp": {
       "https://sp24-test.garr.it/shibboleth": 2,
       "https://filesender.garr.it/shibboleth": 1,
       "https://sp-demo.aai.garr.it/shibboleth": 3
     }
    }

Authors