<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.E-postaStili17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=TR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am trying to get an event log and I created a sample log by calling logging create dbus interface as down below:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:#1D1C1D;background:#F8F8F8'>busctl call xyz.openbmc_project.Logging /xyz/openbmc_project/logging xyz.openbmc_project.Logging.Create Create ssa{ss} "Hata olustu" "xyz.openbmc_project.Logging.Entry.Level.Critical" 1 "CALLOUT_GPIO_NUM" "5"<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> It seems to created successfully when I viewed “GetManagedObjects” object of the interface :<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:#1D1C1D;background:#F8F8F8'>busctl call xyz.openbmc_project.Logging /xyz/openbmc_project/logging org.freedesktop.DBus.ObjectManager GetManagedObjects<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:#1D1C1D;background:#F8F8F8'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:#1D1C1D;background:#F8F8F8'>output:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:#1D1C1D;background:#F8F8F8'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:#1D1C1D;background:#F8F8F8'>a{oa{sa{sv}}} 2 "/xyz/openbmc_project/logging/entry/1" 8 "org.freedesktop.DBus.Peer" 0 "org.freedesktop.DBus.Introspectable" 0 "org.freedesktop.DBus.Properties" 0 "xyz.openbmc_project.Common.FilePath" 1 "Path" s "/var/lib/phosphor-logging/errors/1" "xyz.openbmc_project.Software.Version" 2 "Version" s "0.1.0" "Purpose" s "xyz.openbmc_project.Software.Version.VersionPurpose.BMC" "xyz.openbmc_project.Association.Definitions" 1 "Associations" a(sss) 0 "xyz.openbmc_project.Object.Delete" 0 "xyz.openbmc_project.Logging.Entry" 10 "Id" u 1 "Timestamp" t 1660660714372 "Severity" s "xyz.openbmc_project.Logging.Entry.Level.Critical" "Message" s "Hata olustu" "EventId" s "" "AdditionalData" as 1 "CALLOUT_GPIO_NUM=5" "Resolution" s "" "Resolved" b false "ServiceProviderNotify" b false "UpdateTimestamp" t 1660660714372 "/xyz/openbmc_project/logging/internal/manager" 4 "org.freedesktop.DBus.Peer" 0 "org.freedesktop.DBus.Introspectable" 0 "org.freedesktop.DBus.Properties" 0 "xyz.openbmc_project.Logging.Internal.Manager" 0<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> However, no data is displayed in the web-ui. So, I examined the bmcweb method which deals with getting event log requests from dbus and nothing seems wrong. When I call this bmcweb method with redfish api, count returns zero.:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:#1D1C1D;background:#F8F8F8'>curl -c cjar -b cjar -k </span><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:black;background:#F8F8F8'><a href="https://%7b$bmc%7d/redfish/v1/Systems/system/LogServices/EventLog/Entries/">https://{$bmc}/redfish/v1/Systems/system/LogServices/EventLog/Entries</a></span><span style='font-size:11.5pt;font-family:"Arial",sans-serif;color:#1D1C1D'><br><span style='background:#F8F8F8'>{</span><br><span style='background:#F8F8F8'> "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries",</span><br><span style='background:#F8F8F8'> "@odata.type": "#LogEntryCollection.LogEntryCollection",</span><br><span style='background:#F8F8F8'> "Description": "Collection of System Event Log Entries",</span><br><span style='background:#F8F8F8'> "Members": [],</span><br><span style='background:#F8F8F8'> "Members@odata.count": 0,</span><br><span style='background:#F8F8F8'> "Name": "System Event Log Entries"<o:p></o:p></span></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In short, what exactly do I need to do to view these event logs in the web ui?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thank you.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> <o:p></o:p></p></div></body></html>