Create a Post
Showing results for 
Search instead for 
Did you mean: 

Group membership export with IP address

I have a group object that contains close to 600 devices. I can export the group to a csv but it only contains the group information. If I search for a specific device, I can export a csv with hostname, IP address, and description. However, I cannot export a csv with the members of a group with the hostname, IP address, and description. I've looked into some APIs but did not have much luck. Any and all assistance is greatly appreciated. 

0 Kudos
1 Reply

By description, I assume you mean comment.
Try these two CLI commands from

mgmt_cli -r true --format json show group name group-name details-level full | jq '.members[] | [.name , ."ipv4-address" , .comments ] | @csv'
mgmt_cli -r true --format json show group name adult-machines details-level full offset 500 | jq '.members[] | [.name , ."ipv4-address" , .comments ] | @csv'

Note that a second command is required since the API will only return 500 results at a time. The "offset 500" will return the next set of results.
0 Kudos


Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events