184.108.40.206.2. With Query¶
This does the following:
Since a query is supplied, this will only return the count of device assets that match the query.
$ axonshell devices count --query '(specific_data.data.last_seen >= date("NOW - 3d"))'
This example works the same for both the
devices count and
users count commands.
If –query-file is supplied, it will override –query if that is also supplied.
Shell Quoting Rules for how to deal with quoting the –query value in various shells.