Add in command to display event logs
A common use case is to display the details of the event
logs on the system
Change-Id: Iedf8ec532709f728525d5030416ced7bae3de662
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/REST-cheatsheet.md b/REST-cheatsheet.md
index 3bd1abb..1bd3408 100644
--- a/REST-cheatsheet.md
+++ b/REST-cheatsheet.md
@@ -46,6 +46,11 @@
$ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X PUT -d '{"data":"xyz.openbmc_project.State.BMC.Transition.Reboot"}' https://${bmc}//xyz/openbmc_project/state/bmc0/attr/RequestedBMCTransition
```
+* Display logging entries:
+ ```
+ $ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X GET https://${bmc}/xyz/openbmc_project/logging/entry/enumerate
+ ```
+
* Delete logging entries:
```
$ curl -c cjar -b cjar -k -H "Content-Type: application/json" -X DELETE https://${bmc}/xyz/openbmc_project/logging/entry/<entry_id>