Represents a namespace.
Every Splunk object belongs to a namespace.
package | Splunk |
---|
createApp(string | NULL $app) : \Splunk_Namespace
string
NULL
name of a Splunk app (ex: "search"), or NULL to specify all apps.
createDefault() : \Splunk_Namespace
Objects in the default namespace correspond to the authenticated user and their default Splunk application.
createExact(string $owner, string $app, string $sharing)
see | \user() |
---|
string
name of a Splunk user (ex: "admin").
string
name of a Splunk app (ex: "search").
string
one of {'user', 'app', 'global', 'system'}.
createGlobal(string | NULL $app) : \Splunk_Namespace
string
NULL
name of a Splunk app (ex: "search"), or NULL to specify all apps.
createUser(string | NULL $owner, string | NULL $app) : \Splunk_Namespace
string
NULL
name of a Splunk user (ex: "admin"), or NULL to specify all users.
string
NULL
name of a Splunk app (ex: "search"), or NULL to specify all apps.
getApp()
This operation is only defined for exact namespaces.
getOwner()
This operation is only defined for exact namespaces.
getPathPrefix()
getSharing()
This operation is only defined for exact namespaces.
isExact()
Within an exact namespace, no two objects can have the same name.
__construct($owner, $app, $sharing)
ensureArgumentCountEquals($expected, $actual)
ensureExact()
$app
$owner
$sharing