show-raslog

Retrieves the entries of RASLOG.

Resource URIs

URI Description
<base_URI>/operations/show-raslog Retrieves the entries of RASLOG.

Parameters

number-of-entries
Displays the number of recent events to be fetched from the RASLOG entries.
index
Displays the sequence number for the message.
message-id
Displays the message identifier.
date-and-time-info
Displays the date and time of the message. The format is: YYYY-MM-DD/HH:MM:SS.SSSS (micro seconds).
severity
Displays the severity of the message. Valid values include: INFO, WARNING, ERROR, and CRITICAL.
log-type
Specifies if the message is a SYSTEM or DCE log.
repeat-count
Displays the number of times the particular event has occurred.
message
Displays the textual description of the event.
message-flag
Displays the type of the message.
switch-or-chassis-name
Displays the switch name or chassis name for the generator of the message..

Usage Guidelines

Only POST operation is supported.

Examples

URI

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>