Hammer host list can not show last_checkin

Problem:
/bin/hammer host list --fields=“name,last_checkin”
does not last_checkin time, only showed name

/bin/hammer host list --fields=“name,last_checkin”
showed both name, ip .

Foreman and Proxy versions:

server # rpm -q tfm-rubygem-hammer_cli

tfm-rubygem-hammer_cli-2.5.1-1.el7.noarch

server # rpm -q foreman

foreman-2.5.4-1.el7.noarch

Distribution and version:

server# cat /etc/redhat-release

CentOS Linux release 7.9.2009 (Core)

is it supported to show last_checkin info or any syntax error for the command ? thanks.

Hi @solar2k,

Sorry I didn’t notice your message earlier. Unforunatelly, last_checkin is only a search/order field, not a field to display for hammer host list command.