kolide / fleet

A flexible control server for osquery fleets
https://kolide.com/fleet
MIT License
1.1k stars 260 forks source link

fleetctl hosts json output has no status field #2339

Open anelshaer opened 4 years ago

anelshaer commented 4 years ago

What version of fleet are you using (fleet version --full)?

fleetctl - version 3.1.0 branch: HEAD revision: c6ce648fef3bb39b6e604333ec47cff0e625ff8e build date: 2020-08-07T00:09:49Z build user: zwass go version: go1.14.4

What operating system are you using?

Centos

What did you do?

fleetctl get hosts --json

What did you expect to see?

expecting to get json data for each host including the status of the host either online or offline.

What did you see instead?

expecting to get the status in the json output. if we could have some simple filtering in that get hosts like status=offline or hostname like dev%that would be great.