data/views/redfish-1.0/wsman.1.0.0.lclogentrycollection.json
{
"@odata.context" : "<%= basepath %>/$metadata#LogEntryCollection.LogEntryCollection",
"@odata.id": "<%= url %>",
"@odata.type": "#LogEntryCollection.LogEntryCollection",
"Oem" : {},
"Name": "Log Service Entry Collection",
"Members@odata.count": <%= logEntries.length %>,
"Members": [
<% logEntries.forEach(function(entry, i, arr) { %>
{
"@odata.id": "<%= basepath %>/Systems/<%=identifier%>/LogServices/<%=type%>/Entries/<%= entry.recordId %>",
"@odata.type": "#LogEntry.1.0.0.LogEntry",
"Oem": {
"Dell":{
"Log Name": "<%= entry.logName %>",
"Category": "<%= entry.category %>",
"Severity": "<%= entry.severity %>",
"Comment": "<%= entry.comment %>",
"Agent": "<%= entry.agentId %>",
"fqdd": "<%= entry.fqdd %>",
"Raw Event Data": "<%= entry.rawEventData %>",
"Sequence Number": "<%= entry.sequenceNumber %>"
}
},
"Id": "<%= entry.recordId %>",
"Name": "<%= entry.elementName %>",
"EntryType": "<%= type %>",
"Created": "<%= entry.creationTimeStamp %>",
"OemRecordFormat": "",
"EntryCode": "<%= entry.instanceId %>",
"Message": "<%= entry.message %>",
"MessageId": "<%= entry.messageId %>",
"MessageArgs": ["<%= entry.messageArguments %>"],
"Links": {
"Oem": {},
"OriginOfCondition": {
"@odata.id": "<%= entry.origin || 'null' %>"
}
}
}
<%= ( arr.length > 0 && i < arr.length-1 ) ? ',': '' %>
<% }); %>
]
}