You are looking at preliminary documentation for a future release.
Not what you want? See the
current release documentation.
Log settings APIedit
API reference for log settings.
Read log settingsedit
Get log settings.
GET <ENTERPRISE_SEARCH_BASE_URL>/api/as/v1/log_settings
# 200 OK { "api": { "enabled": true }, "analytics": { "enabled": true } }
Update log settingsedit
Put 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 settingsedit
Delete all log settings, restoring default behavior.
DELETE <ENTERPRISE_SEARCH_BASE_URL>/api/as/v1/log_settings
# 200 OK { "api": { "enabled": true }, "analytics": { "enabled": true } }