Computer IDs with duplicate hostname

hi , i am using the below rest call to fetch the computer id but facing issue with operators

if i use contains - it returns multiple computer id as there are few servers with appserver but having different FQDN

when i use is / equal / = operator it does not return value on some hosts , not sure why ?

(ids of it ) of bes computers whose (name of it as lowercase contains "appserver" as lowercase)

Are these Linux machines? Windows? a subset of both? Typically windows will report name as hostname only, where linux reports FQDN. Also you do not need that last as uppercase, as you typed “appserver” already in lowercase…