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

Problem with jq parsing mgmt_cli output.

Good day.

I'm trying to earn all Non-FQDN (Wildcard) domain from SMS server through CLI.

I'm able to receive all domain by using as example 'mgmt_cli -r true show dns-domains details-level full limit 5 --format json'.

But when I try to parse output with jq and filter as example '.objects[].is-sub-domain' I receive next error message ' error: domain is not defined'. Other variations of using this filter and Boolean value have same result ' error: domain is not defined'.

Filters like '.objects[].name' or '.objects[].domain' work fine.

How to do correct parsing?

P.S. Additionally tried old Whitepaper about FQDN objects. Doesn't work too.

 

  

0 Kudos
0 Replies

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events