POST /debugcontroller
/debugcontroller
Avi Tenant Header
Avi Tenant Header UUID
The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
DebugController object creation
Show optional properties
{
"log_level": "string",
"name": "string",
"sub_module": "string",
"trace_level": "string"
}
{
"_last_modified": "string",
"filters": {
"alert_debug_filter": {
"alert_objid": "string",
"alert_uuid": "string",
"cfg_uuid": "string"
},
"autoscale_mgr_debug_filter": {
"enable_aws_autoscale_integration": false,
"intelligent_autoscale_period": 0,
"pool_ref": "string"
},
"cloud_connector_debug_filter": {
"app_id": "string",
"disable_se_reboot": false,
"se_id": "string"
},
"hs_debug_filter": {
"entity": "string",
"metric_entity": "string",
"period": 0,
"pool": "string",
"server": "string",
"skip_hs_db_writes": false
},
"logmanager_debug_filter": {
"entity_ref": "string"
},
"mesos_metrics_debug_filter": {
"mesos_master": "string",
"mesos_slave": "string",
"metric_entity": "string",
"metrics_collection_frq": 0
},
"metrics_debug_filter": {
"debug_skip_eval_period": "string",
"disable_hw_training": "string",
"entity": "string",
"license_grace_period": "string",
"log_first_n": "string",
"logging_freq": "string",
"metric_instance_id": "string",
"min_db_queries_each_conn": "string",
"obj": "string",
"skip_cluster_map_check": "string",
"skip_metrics_db_writes": "string"
},
"metricsapi_srv_debug_filter": {
"entity_ref": "string"
},
"se_mgr_debug_filter": {
"name": "string"
},
"se_rpc_proxy_filter": {
"method_name": "string",
"queue": "string",
"se_uuid": "string"
},
"securitymgr_debug_filter": {
"enable_adaptive_config": false,
"entity_ref": "string",
"psm_rule_id_multiplier": 0
},
"state_cache_mgr_debug_filter": {
"pool_ref": "string",
"vs_ref": "string"
},
"type": "string",
"vs_debug_filter": {
"name": "string",
"se_uuid": "string"
}
},
"log_level": "string",
"name": "string",
"sub_module": "string",
"tenant_ref": "string",
"trace_level": "string",
"url": "string",
"uuid": "string"
}
OK
"DebugController Object"
UNIX time since epoch in microseconds. Units(MICROSECONDS).
filters
Enum options - LOG_LEVEL_DISABLED, LOG_LEVEL_INFO, LOG_LEVEL_WARNING, LOG_LEVEL_ERROR. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Enum options - TASK_QUEUE_DEBUG, RPC_INFRA_DEBUG, JOB_MGR_DEBUG, TRANSACTION_DEBUG, SE_AGENT_DEBUG, SE_AGENT_METRICS_DEBUG, VIRTUALSERVICE_DEBUG, RES_MGR_DEBUG, SE_MGR_DEBUG, VI_MGR_DEBUG, METRICS_MANAGER_DEBUG, METRICS_MGR_DEBUG, EVENT_API_DEBUG, HS_MGR_DEBUG, ALERT_MGR_DEBUG, AUTOSCALE_MGR_DEBUG, APIC_AGENT_DEBUG, REDIS_INFRA_DEBUG, CLOUD_CONNECTOR_DEBUG, MESOS_METRICS_DEBUG, STATECACHE_MGR_DEBUG, NSX_AGENT_DEBUG, SE_AGENT_CPU_UTIL_DEBUG, SE_AGENT_MEM_UTIL_DEBUG, SE_RPC_PROXY_DEBUG, SE_AGENT_GSLB_DEBUG, METRICSAPI_SRV_DEBUG, SECURITYMGR_DEBUG, RES_MGR_READ_DEBUG, LICENSE_VMWSRVR_DEBUG, SE_AGENT_RESOLVERDB_DEBUG, LOGMANAGER_DEBUG, OSYNC_DEBUG, EVENTMANAGER_DEBUG. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
It is a reference to an object of type Tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Enum options - TRACE_LEVEL_DISABLED, TRACE_LEVEL_ERROR, TRACE_LEVEL_DEBUG, TRACE_LEVEL_DEBUG_DETAIL. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
url
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
log in failed
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"log_level:"string","name:"string","sub_module:"string","trace_level:"string"}' https://{api_host}/api/debugcontroller