---
title: "Returns weblog analyzers' configuration"
method: GET
path: "/StatsManager/get_configuration"
tags: ["StatsManager", "Weblog Settings"]
---

# Returns weblog analyzers' configuration

`GET /StatsManager/get_configuration`

This function lists the configuration of the web log anayzers for each domain on the cPanel account.

**Important:**

When you disable the WebServer role the system disables this function. For more information, read our How to Use [Server Profiles documentation](https://docs.cpanel.net/knowledge-base/general-systems-administration/how-to-use-server-profiles/).

**Note**

Additional web log analyzer configuration such as if the user can edit their own configuration is provided in the metadata section of the return.

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer — The version of the API.
  - `func` string — The name of the method called.
  - `module` string — The name of the module called.
  - `result` object
    - `data` object[] — A list of domains and the status of each of the web log analyzers available in cPanel for that domain.
      - `analyzers` object[] — List of log analyzer configuration objects for this domain. Only analyzers that are enabled for this user on the system are shown.
        - `enabled` 1 | 0 — Whether the analyzer is turned on or off for the domain. - `1` - the analyzer is enabled. - `0` - the analyzer is disabled. **Note:** This is the cumulative effect of the choices the server admin and user make.
        - `enabled_by_user` 1 | 0 — Whether the analyzer is turned on or off for the domain specifically by this user. - `1` - the analyzer is enabled by the user. - `0` - the analyzer is disabled by the user.
        - `name` 'analog' | 'awstats' | 'webalizer' — Name of the analyzer. It must be one of the following: - `analog` - Analog weblog analyzer. - `awstats` - AWStats weblog analyzer. - `webalizer` - The Webalizer weblog analyzer.
      - `domain` string — The domain.
    - `errors` string[], nullable — List of errors if the API failed.
    - `messages` string[], nullable — List of messages generated by the API.
    - `metadata` object
      - `analyzers` object[] — System configruation for each analyzer.
        - `available_for_user` 1 | 0 — Whether the analyzer can be configured by this user. - `1` - the analyzer can be configured by this user. - `0` - the analyzer cannot be configured by this user.
        - `enabled_by_default` 1 | 0 — Whether the analyzer is turned on or off by default for all users. - `1` - the analyzer is enabled for all users on the server. - `0` - the analyzer is disabled for all users on the server.
        - `name` 'analog' | 'awstats' | 'webalizer' — Name of the analyzer. It must be one of the following: - `analog` - Analog weblog analyzer. - `awstats` - AWStats weblog analyzer. - `webalizer` - The Webalizer weblog analyzer.
      - `locked` 1 | 0 — Whether the analyzer can be turned on or off for the domain by the cPanel user. - `1` - the analyzer cannot be managed by the cPanel user. The reseller or `root` controls the configuration. - `0` - the analyzer can be managed by the cPanel user.
      - `transformed` 1 — Post-processing may have transformed the data.
    - `status` 0 | 1 — - 1 - Success - 0 - Failed: Check the errors field for more details.
    - `warnings` string[], nullable — List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.

---

[API](https://skmtc.net/cpanel/apis/cpanel-uapi.md) · [All operations](https://skmtc.net/cpanel/apis/cpanel-uapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/cpanel-uapi/versions/632e2f8e6d04/schema)
