URI | Description |
---|---|
<base_URI>/operations/show-raslog | Retrieves the entries of RASLOG. |
Only POST operation is supported.
http://host:80/rest/operations/show-raslog
<show-raslog></show-raslog>
The API can be used to retrieve some number of last entries by providing the following tags as in the request body below.
<show-raslog xmlns="urn:brocade.com:mgmt:brocade-ras-ext"> <number-of-latest-events>1</number-of-latest-events> </show-raslog>
<output xmlns='urn:brocade.com:mgmt:brocade-ras-ext'> <show-all-raslog> <number-of-entries>1151</number-of-entries> <raslog-entries> <index>168099840</index> <message-id>SEC-1206</message-id> <date-and-time-info>2006/03/18-07:23:03:15</date-and-time-info> <severity>unknown</severity> <log-type>system</log-type> <repeat-count>1</repeat-count> <message>Login information: User [admin via telnet] Last Successful Login Time : Thu Aug 18 02:19:13 2016.</message> <message-flag>unknown</message-flag> <switch-or-chassis-name>SLX9850-4</switch-or-chassis-name> </raslog-entries> </show-all-raslog> </output>