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 http://calamari.readthedocs.org/en/latest/calamari_rest/resources/resources.html#logtailviewset
does it work for any log? please include logs from calamari as described here: http://calamari.readthedocs.org/en/wip-troubleshoot/operations/troubleshooting.html
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.