# Returns weblog analyzers' configuration This function lists the configuration of the web log anayzers for each domain on the cPanel account. When you disable the WebServer role the system disables this function. For more information, read our How to Use Server Profiles documentation. Additional web log analyzer configuration such as if the user can edit their own configuration is provided in the metadata section of the return. Endpoint: GET /StatsManager/get_configuration Version: 11.134.0.5 Security: BasicAuth ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "get_configuration" - `module` (string) The name of the module called. Example: "StatsManager" - `result` (object) - `result.data` (array) A list of domains and the status of each of the web log analyzers available in cPanel for that domain. - `result.data.analyzers` (array) List of log analyzer configuration objects for this domain. Only analyzers that are enabled for this user on the system are shown. Example: [{"enabled":1,"enabled_by_user":1,"name":"awstats"},{"enabled":0,"enabled_by_user":0,"name":"analog"},{"enabled":0,"enabled_by_user":1,"name":"webalizer"}] - `result.data.analyzers.enabled` (integer) Whether the analyzer is turned on or off for the domain. - - the analyzer is enabled. - - the analyzer is disabled. This is the cumulative effect of the choices the server admin and user make. Enum: 1, 0 - `result.data.analyzers.enabled_by_user` (integer) Whether the analyzer is turned on or off for the domain specifically by this user. - - the analyzer is enabled by the user. - - the analyzer is disabled by the user. Enum: 1, 0 - `result.data.analyzers.name` (string) Name of the analyzer. It must be one of the following: - - Analog weblog analyzer. - - AWStats weblog analyzer. - - The Webalizer weblog analyzer. Enum: "analog", "awstats", "webalizer" - `result.data.domain` (string) The domain. Example: "domain.com" - `result.errors` (array,null) List of errors if the API failed. - `result.messages` (array,null) List of messages generated by the API. - `result.metadata` (object) - `result.metadata.analyzers` (array) System configruation for each analyzer. Example: [{"available_for_user":1,"enabled_by_default":0,"name":"analog"},{"available_for_user":1,"enabled_by_default":1,"name":"awstats"},{"available_for_user":1,"enabled_by_default":0,"name":"webalizer"}] - `result.metadata.analyzers.available_for_user` (integer) Whether the analyzer can be configured by this user. - - the analyzer can be configured by this user. - - the analyzer cannot be configured by this user. Enum: 1, 0 - `result.metadata.analyzers.enabled_by_default` (integer) Whether the analyzer is turned on or off by default for all users. - - the analyzer is enabled for all users on the server. - - the analyzer is disabled for all users on the server. Enum: 1, 0 - `result.metadata.locked` (integer) Whether the analyzer can be turned on or off for the domain by the cPanel user. - - the analyzer cannot be managed by the cPanel user. The reseller or controls the configuration. - - the analyzer can be managed by the cPanel user. Enum: 1, 0 - `result.metadata.transformed` (integer) Post-processing may have transformed the data. Enum: 1 - `result.status` (integer) - 1 - Success - 0 - Failed: Check the errors field for more details. Enum: 0, 1 - `result.warnings` (array,null) List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.