Log settings API
editLog settings API
editAPI reference for log settings.
Read log settings
editGet log settings.
GET <ENTERPRISE_SEARCH_BASE_URL>/api/as/v1/log_settings
# 200 OK { "api": { "enabled": true }, "analytics": { "enabled": true } }
Update log settings
editPut or patch log settings to set custom values.
PUT <ENTERPRISE_SEARCH_BASE_URL>/api/as/v1/log_settings { "api": { "enabled": <value> }, "analytics": { "enabled": <value> } }
or
PATCH <ENTERPRISE_SEARCH_BASE_URL>/api/as/v1/log_settings { "api": { "enabled": <value> }, "analytics": { "enabled": <value> } }
Example: Disable API logging
PUT <ENTERPRISE_SEARCH_BASE_URL>/api/as/v1/log_settings { "api": { "enabled": false } }
# 200 OK { "api": { "enabled": false }, "analytics": { "enabled": true } }
Remove log settings
editDelete all log settings, restoring default behavior.
DELETE <ENTERPRISE_SEARCH_BASE_URL>/api/as/v1/log_settings
# 200 OK { "api": { "enabled": true }, "analytics": { "enabled": true } }