/config/syslog/filters/<filter_name>/levels/ ¶
Use
Use to configure the priority/severity of the messages to filter. Specify a single value or a range per command using either a number, symbolic name, numeric range, or a symbolic range. Ranges are indicated with a hyphen (-), but without any spaces.
Symbolic names (with the numeric value after) in high to low priority order are: emerg (0), alert (1), crit (2), err (3), warning (4), notice (5), info (6), and debug (7).
Default Allowed¶
False
Request Methods¶
GET, POST, PUT, DELETE
Examples¶
GET
curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/config/syslog/filters/name/levels/name
GET Response
{"httpResponseCode": 404,
"internalResponseCode": 101,
"message": "Request failed: Unable to retrieve data from controller\n Path: /config/syslog/filters/name/levels/name\n ResponseCode: 101 (Path not found)\n",
"recurse": False,
"requestPath": "/config/syslog/filters/name/levels/name"}
POST
curl -b cookie.jar –data @data.json -k -H “Content-Type: application/json” -X POST https://10.1.2.3:8443/lrs/api/v1.0/config/syslog/filters/name/levels/name
POST Response
{"httpResponseCode": 200,
"requestPath": "/config/syslog/filters/name/levels/name",
"recurse":false}
- /config/syslog/filters/<filter_name>/levels/
1. Parameters 2. Data Key - Data Type
- Data Values
- Default Data Value 3. Default Allowed 4. Request Methods 5. Related 6. Examples