188.8.131.52. Select Fields: Multiple Fields Using Commas¶
This does the following:
- Get device assets and include the generic fields
os.distribution, and the aws adapter fields
aws_regionin the response data.
- This uses commas to seperate the fields per adapter.
$ axonshell devices get \ -f os.type,os.distribution \ -f aws:aws_device_type,aws_region \ --export-file device.json \ --export-overwrite
This example uses the
devices get command, but it will work for any
get.. command for the devices or users command groups.
Selecting fields from a particular adapter is done by supplying an adapter name
followed by a field name seperated by a colon, example:
adapter: is included in the field, it is assumed you mean
Generic fields are the fields that are under the
General section in the GUI.
These are the fields that contain all of the aggregated data for an asset.