Schema:LoginUserAgent

PHP logging

EventLogging::logEvent( 'LoginUserAgent', 6259872, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"LoginUserAgent": 6259872
			}
		}
	}
}

JavaScript logging

mw.track( 'event.LoginUserAgent', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 6259872
description"Records User-Agent header of succcessful logins"
properties
userAgent
description"User-Agent header of authentication request, if available."
type"string"