diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2018-10-24 07:57:18 -0500 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2018-10-25 19:21:24 +0000 |
commit | d986cb1f7ccdf2d74dc62001a6508599b8614cc3 (patch) | |
tree | bbd3dea285a8d38686813fc4ee5b24fa93d8f09b | |
parent | 6917b4299a9a3558323d5996d077cd79451b6e45 (diff) | |
download | openbmc-docs-d986cb1f7ccdf2d74dc62001a6508599b8614cc3.tar.gz openbmc-docs-d986cb1f7ccdf2d74dc62001a6508599b8614cc3.zip |
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>
-rw-r--r-- | REST-cheatsheet.md | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ This document is intended to provide a set of REST client commands for OpenBMC u $ 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> |