Splunk Search

How do I query a macro for it's definition?

Path Finder

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?

Tags (3)

Splunk Employee
Splunk Employee
| rest /servicesNS/-/-/admin/macros splunk_server=local | search title=<name of macro> 

SplunkTrust
SplunkTrust

Try

| rest services/configs/conf-macros|table definition args