I would like to query an app's macros and return the macro attributes such as the name and the definition. Can someone point me in the right direction?
| rest /servicesNS/-/-/admin/macros splunk_server=local | search title=<name of macro>
Try
| rest services/configs/conf-macros|table definition args