PHP logging
EventLogging::logEvent( 'CommandInvocation', 15243810, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"CommandInvocation": 15243810
}
}
}
}
JavaScript logging
mw.track( 'event.CommandInvocation', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Record invocation of different commands (primarily from tool labs) by users" |
---|
properties | username | type | "string" |
---|
required | true |
---|
description | "Name of the user running the command" |
---|
|
---|
command | type | "string" |
---|
required | true |
---|
description | "Name of command being called (jsub, webservice, jstart, etc)" |
---|
|
---|
commandline | type | "string" |
---|
required | true |
---|
description | "The entire commandline used to invoke the command" |
---|
|
---|
parentcommandline | type | "string" |
---|
required | true |
---|
description | "The entire commandline of the parent process that invoked the command" |
---|
|
---|
hostname | type | "string" |
---|
required | true |
---|
description | "fqdn of host from in which this command was run" |
---|
|
---|
|
---|