This page is used to view the system log messages that the local syslog host receives from the system. Please make sure that "Local Log Host" is enabled in the "Log Settings" page.
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | level | enum | Log LevelAvailable values:
|
| default | time | string | Time |
| default | type | enum | Log TypeAvailable values:
|
| default | msg | string | |
| hide | id | string | ID |
{
"LogBuf": {
"meta": {
"abstract": false,
"verbose_name": Local Syslog Host,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
"targets": [<target>]
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target asso you want to perform action on. Can be empty or not specified when there is no target asso needed. |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"LogBuf": [
{
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
},
...
]
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, hide, Notice: There could only be one field_group_name or field_name in the URL. And if both field_group_name and field_name are not specified, will try to query default field_group data. |
| field_name | URI | (optional) Target field name to query. Available names are: level, time, type, msg, id, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | level | enum | Log LevelAvailable values:
|
| default | time | string | Time |
| default | type | enum | Log TypeAvailable values:
|
| default | msg | string | |
| hide | id | string | ID |
{
"LogBuf": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"LogBuf": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"LogBuf": {
"instance_id":<instance_id>,
<field>:<value>,
}
}