This function saves the users choice about which web log anayzers are enabled for each domain on their cPanel users account. If the log anayzers are controlled by the reseller or root account, the user cannot manage which log analyzers are enabled or disabled.
Important:
When you disable the WebServer role the system disables this function. For more information, read our How to Use Server Profiles documentation.
List of domains and what web log analyzers to change.
Array of objects |
{- "changes": [
- {
- "analyzers": [
- {
- "enabled": 1,
- "name": "awstats"
}, - {
- "enabled": 0,
- "name": "analog"
}, - {
- "enabled": 0,
- "name": "webalizer"
}
], - "domain": "domain.com"
}
]
}
{- "apiversion": 3,
- "func": "save_configuration",
- "module": "StatsManager",
- "result": {
- "data": [
- {
- "analyzers": [
- {
- "available": 1,
- "enabled": 1,
- "locked": 0,
- "name": "awstats"
}, - {
- "available": 1,
- "enabled": 0,
- "locked": 0,
- "name": "analog"
}, - {
- "available": 0,
- "enabled": 0,
- "locked": 0,
- "name": "webalizer"
}
], - "domain": "user"
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}