You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update to statistics module. Requires modifications to config file! Added incremental aggregation, independent time resolution from rule def, combined coldefs and more....
* CGI timeout function. Both default to 300 seconds.
48
48
*/
49
49
'time_limit' => 300,
50
+
51
+
'time_limit' => 300,
50
52
51
-
'statrules' => array(
52
-
'sso_hoursday' => array(
53
-
'name' => 'SSO to service (per 15min)',
54
-
'descr' => 'The number of logins at a Service Provider divided into slots of one hour. Each file contains data for one day (24 hours)',
55
-
56
-
'action' => 'saml20-sp-SSO',
57
-
'col' => 6, // Service Provider EntityID
58
-
'fieldPresentation' => array(
59
-
'class' => 'statistics:Entity',
60
-
'config' => 'saml20-sp-remote',
61
-
),
53
+
'timeres' => array(
54
+
'day' => array(
55
+
'name' => 'Day',
62
56
'slot' => 60*15, // Slots of 15 minutes
63
57
'fileslot' => 60*60*24, // One day (24 hours) file slots
64
58
'axislabelint' => 6*4, // Number of slots per label. 4 per hour *6 = 6 hours
65
-
59
+
'dateformat-period' => 'j. M', // 4. Mars
60
+
'dateformat-intra' => 'j. M H:i', // 4. Mars 12:30
61
+
),
62
+
'week' => array(
63
+
'name' => 'Week',
64
+
'slot' => 60*60, // Slots of one hour
65
+
'fileslot' => 60*60*24*7, // 7 days of data in each file
66
+
'axislabelint' => 24, // Number of slots per label. 24 is one each day
66
67
'dateformat-period' => 'j. M', // 4. Mars
67
68
'dateformat-intra' => 'j. M H:i', // 4. Mars 12:30
68
69
),
69
-
'sso_day80' => array(
70
-
'name' => 'SSO to service (per day for 80 days)',
71
-
'descr' => 'The number of logins at a Service Provider divided into slots of one day. Each file contains data for 80 days',
70
+
'month' => array(
71
+
'name' => 'Month',
72
+
'slot' => 60*60*24, // Slots of one day
73
+
'fileslot' => 60*60*24*30, // 30 days of data in each file
74
+
'axislabelint' => 7, // Number of slots per label. 7 days => 1 week
75
+
'dateformat-period' => 'j. M Y H:i', // 4. Mars 12:30
76
+
'dateformat-intra' => 'j. M', // 4. Mars
77
+
),
78
+
'monthaligned' => array(
79
+
'name' => 'AlignedMonth',
80
+
'slot' => 60*60*24, // Slots of one day
81
+
'fileslot' => NULL, // 30 days of data in each file
82
+
'customDateHandler' => 'month',
83
+
'axislabelint' => 7, // Number of slots per label. 7 days => 1 week
84
+
'dateformat-period' => 'j. M Y H:i', // 4. Mars 12:30
85
+
'dateformat-intra' => 'j. M', // 4. Mars
86
+
),
72
87
73
-
'action' => 'saml20-sp-SSO',
74
-
'col' => 6, // Service Provider EntityID
75
-
'fieldPresentation' => array(
76
-
'class' => 'statistics:Entity',
77
-
'config' => 'saml20-sp-remote',
78
-
),
88
+
'days180' => array(
89
+
'name' => '180 days',
79
90
'slot' => 60*60*24, // Slots of 1 day (24 hours)
80
-
'fileslot' => 60*60*24*80, // 80 days of data in each file
91
+
'fileslot' => 60*60*24*180, // 80 days of data in each file
92
+
'axislabelint' => 30, // Number of slots per label. 7 days => 1 week
93
+
'dateformat-period' => 'j. M', // 4. Mars
94
+
'dateformat-intra' => 'j. M', // 4. Mars
95
+
),
96
+
),
97
+
98
+
'time_limit' => 300,
99
+
100
+
'timeres' => array(
101
+
'day' => array(
102
+
'name' => 'Day',
103
+
'slot' => 60*15, // Slots of 15 minutes
104
+
'fileslot' => 60*60*24, // One day (24 hours) file slots
105
+
'axislabelint' => 6*4, // Number of slots per label. 4 per hour *6 = 6 hours
106
+
'dateformat-period' => 'j. M', // 4. Mars
107
+
'dateformat-intra' => 'j. M H:i', // 4. Mars 12:30
108
+
),
109
+
'week' => array(
110
+
'name' => 'Week',
111
+
'slot' => 60*60, // Slots of one hour
112
+
'fileslot' => 60*60*24*7, // 7 days of data in each file
113
+
'axislabelint' => 24, // Number of slots per label. 24 is one each day
114
+
'dateformat-period' => 'j. M', // 4. Mars
115
+
'dateformat-intra' => 'j. M H:i', // 4. Mars 12:30
116
+
),
117
+
'month' => array(
118
+
'name' => 'Month',
119
+
'slot' => 60*60*24, // Slots of one day
120
+
'fileslot' => 60*60*24*30, // 30 days of data in each file
81
121
'axislabelint' => 7, // Number of slots per label. 7 days => 1 week
82
-
122
+
'dateformat-period' => 'j. M Y H:i', // 4. Mars 12:30
123
+
'dateformat-intra' => 'j. M', // 4. Mars
124
+
),
125
+
'monthaligned' => array(
126
+
'name' => 'AlignedMonth',
127
+
'slot' => 60*60*24, // Slots of one day
128
+
'fileslot' => NULL, // 30 days of data in each file
129
+
'customDateHandler' => 'month',
130
+
'axislabelint' => 7, // Number of slots per label. 7 days => 1 week
131
+
'dateformat-period' => 'j. M Y H:i', // 4. Mars 12:30
132
+
'dateformat-intra' => 'j. M', // 4. Mars
133
+
),
134
+
135
+
'days180' => array(
136
+
'name' => '180 days',
137
+
'slot' => 60*60*24, // Slots of 1 day (24 hours)
138
+
'fileslot' => 60*60*24*180, // 80 days of data in each file
139
+
'axislabelint' => 30, // Number of slots per label. 7 days => 1 week
83
140
'dateformat-period' => 'j. M', // 4. Mars
84
141
'dateformat-intra' => 'j. M', // 4. Mars
85
142
),
86
-
'sso_day80realm' => array(
87
-
'name' => 'SP by realm (per day for 80 days)',
88
-
'descr' => 'The number of logins at a Service Provider divided into slots of one day. Each file contains data for 80 days',
143
+
),
144
+
'statrules' => array(
145
+
'sloratio' => array(
146
+
'name' => 'SSO to SLO ratio',
147
+
'descr' => 'ratio',
89
148
149
+
'type' => 'ratio',
150
+
90
151
'action' => 'saml20-idp-SSO',
91
-
'col' => 8, // Service Provider EntityID
152
+
'col' => 6, // Service Provider EntityID
92
153
'fieldPresentation' => array(
93
154
'class' => 'statistics:Entity',
94
155
'config' => 'saml20-sp-remote',
95
156
),
96
-
'slot' => 60*60*24, // Slots of 1 day (24 hours)
97
-
'fileslot' => 60*60*24*80, // 80 days of data in each file
98
-
'axislabelint' => 7, // Number of slots per label. 7 days => 1 week
99
-
100
-
'graph.total' => TRUE,
101
-
102
-
103
-
'dateformat-period' => 'j. M', // 4. Mars
104
-
'dateformat-intra' => 'j. M', // 4. Mars
105
157
),
106
-
'sso_hoursweek' => array(
107
-
'name' => 'SSO to service (per hour for a week)',
108
-
'descr' => 'The number of logins at a Service Provider divided into slots of one hour. Each file contains data for one week.',
109
-
110
-
'action' => 'saml20-sp-SSO',
158
+
'sso' => array(
159
+
'name' => 'SSO to service',
160
+
'descr' => 'The number of logins at a Service Provider.',
161
+
'action' => 'saml20-idp-SSO',
111
162
'col' => 6, // Service Provider EntityID
112
163
'fieldPresentation' => array(
113
164
'class' => 'statistics:Entity',
114
165
'config' => 'saml20-sp-remote',
115
166
),
116
-
'slot' => 60*60, // Slots of one hour
117
-
'fileslot' => 60*60*24*7, // 7 days of data in each file
118
-
'axislabelint' => 24, // Number of slots per label. 24 is one each day
119
-
120
-
'dateformat-period' => 'j. M', // 4. Mars
121
-
'dateformat-intra' => 'j. M H:i', // 4. Mars 12:30
122
167
),
123
-
'sso_days' => array(
124
-
'name' => 'SSO to service (per day for a month)',
125
-
'descr' => 'The number of logins at a Service Provider divided into slots of one day. Each file contains data for 30 days.',
126
-
127
-
'action' => 'saml20-sp-SSO',
168
+
'ssofirst' => array(
169
+
'name' => 'SSO-first to service',
170
+
'descr' => 'The number of logins at a Service Provider.',
171
+
'action' => 'saml20-idp-SSO-first',
128
172
'col' => 6, // Service Provider EntityID
129
173
'fieldPresentation' => array(
130
174
'class' => 'statistics:Entity',
131
175
'config' => 'saml20-sp-remote',
132
176
),
133
-
'slot' => 60*60*24, // Slots of one day
134
-
'fileslot' => 60*60*24*30, // 30 days of data in each file
135
-
'axislabelint' => 7, // Number of slots per label. 7 days => 1 week
136
-
137
-
'dateformat-period' => 'j. M Y H:i', // 4. Mars 12:30
138
-
'dateformat-intra' => 'j. M', // 4. Mars
139
177
),
140
-
'slo_days' => array(
141
-
'name' => 'Logout (per day for a month)',
142
-
'descr' => 'The number of logouts divided into slots of one day. Each file contains data for 30 days.',
143
-
178
+
'ssoservicerealm' => array(
179
+
'name' => 'SSO to service and realm',
180
+
'descr' => 'The number of logins per realm and service provider.',
181
+
'action' => 'saml20-idp-SSO',
182
+
'col' => array(6,8), // Service Provider EntityID, realm
183
+
'fieldPresentation' => array(
184
+
'class' => 'feide:SPandOrg',
185
+
'config' => 'saml20-sp-remote',
186
+
),
187
+
),
188
+
'ssorealm' => array(
189
+
'name' => 'SSO by realm',
190
+
'descr' => 'The number of logins at a Service Provider divided into slots of one day. Each file contains data for 80 days',
191
+
'action' => 'saml20-idp-SSO',
192
+
'col' => 8, // Realm
193
+
'fieldPresentation' => array(
194
+
'class' => 'feide:Org',
195
+
'config' => 'saml20-sp-remote',
196
+
),
197
+
),
198
+
'slo' => array(
199
+
'name' => 'Logout',
200
+
'descr' => 'The number of initated Sinlge Logout.',
144
201
'action' => 'saml20-idp-SLO',
145
202
'col' => 7, // Service Provider EntityID that initiated the logout.
146
203
'fieldPresentation' => array(
147
204
'class' => 'statistics:Entity',
148
205
'config' => 'saml20-sp-remote',
149
206
),
150
-
'slot' => 60*60*24, // Slots of one day
151
-
'fileslot' => 60*60*24*30, // 30 days of data in each file
152
-
'axislabelint' => 7, // Number of slots per label. 7 days => 1 week
153
-
154
-
'dateformat-period' => 'j. M Y H:i', // 4. Mars 12:30
155
-
'dateformat-intra' => 'j. M', // 4. Mars
156
207
),
157
-
158
-
),
208
+
'consent' => array(
209
+
'name' => 'Consent',
210
+
'descr' => 'Consent statistics. Everytime a user logs in to a service an entry is logged for one of three states: consent was found, consent was not found or consent storage was not available.',
211
+
'action' => 'consent',
212
+
'col' => 6,
213
+
'fieldPresentation' => array(
214
+
'class' => 'statistics:Entity',
215
+
'config' => 'saml20-sp-remote',
216
+
),
217
+
),
218
+
'consentresponse' => array(
219
+
'name' => 'Consent response',
220
+
'descr' => 'Consent response statistics. Everytime a user accepts consent, it is logged whether the user selected to remember the consent to next time.',
0 commit comments