Red Hat Bugzilla – Bug 1277438
log tail API endpoint gives HTTP 500 when requested log is binary
Last modified: 2018-01-18 04:25:40 EST
when substituted log_path in this "api/v2/server/<fqdn>/log/<log_path>" with "lastlog" and "wtmp", we get 500 Server Error. (the usage is explained with example in the below mentioned link)
for example "/api/v2/server/<fqdn>/log/lastlog " and "/api/v2/server/<fqdn>/log/wtmp".
the usage is described here
does it work for any log?
please include logs from calamari as described here:
yes it works other logs.
wtmp and lastlog are binary formats
We won't be able to show these without filtering them through /usr/bin/last
I think the correct behavior is to error with a more helpful message and improve the docs to list this as unsupported.