<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: List of Macros in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245459#M2178</link>
    <description>&lt;P&gt;Hi @msivill, that's brilliant. &lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;

&lt;P&gt;Kind Regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2016 08:56:55 GMT</pubDate>
    <dc:creator>IRHM73</dc:creator>
    <dc:date>2016-10-13T08:56:55Z</dc:date>
    <item>
      <title>List of Macros</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245457#M2176</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I wonder whether someone may be able to help me please.&lt;/P&gt;

&lt;P&gt;Could someone tell me please, is it possible to create a query which produces a list of all the 'search macros'. I've tried to find the correct settings using a REST query, but I'm not sure whether I'm going down the correct path or not.&lt;/P&gt;

&lt;P&gt;Many thanks and kind regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 08:36:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245457#M2176</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2016-10-13T08:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: List of Macros</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245458#M2177</link>
      <description>&lt;P&gt;Does this work for you?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /servicesNS/-/-/admin/macros count=0 splunk_server=local
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or the shorter&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /servicesNS/-/-/admin/macros count=0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Oct 2016 08:50:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245458#M2177</guid>
      <dc:creator>msivill_splunk</dc:creator>
      <dc:date>2016-10-13T08:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: List of Macros</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245459#M2178</link>
      <description>&lt;P&gt;Hi @msivill, that's brilliant. &lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;

&lt;P&gt;Kind Regards&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 08:56:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245459#M2178</guid>
      <dc:creator>IRHM73</dc:creator>
      <dc:date>2016-10-13T08:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: List of Macros</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245460#M2179</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server=local /servicesNS/-/-/admin/macros 
| table title, args, eai:acl.app, definition
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Oct 2016 09:03:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245460#M2179</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-10-13T09:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: List of Macros</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245461#M2180</link>
      <description>&lt;P&gt;Didn't see the answer above so ignore mine as it's pretty much the same&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 09:04:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245461#M2180</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-10-13T09:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: List of Macros</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245462#M2181</link>
      <description>&lt;P&gt;Where is /admin/macros documented? I couldn't find it within the &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.1/RESTREF/RESTlist"&gt;REST API Reference Manual&lt;/A&gt;. &lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 14:08:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245462#M2181</guid>
      <dc:creator>mschaaf</dc:creator>
      <dc:date>2018-12-06T14:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: List of Macros</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245463#M2182</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;

&lt;P&gt;I'm using your answer to perform searches such as:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /servicesNS/-/-/admin/macros count=0 
| where 'eai:appName'="myapp" AND like(title, "some_macro_name_prefix_%")
| table title
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Why? I'm researching how to create a multiselect dropdown in a dashboard that lists macros whose names begin with a certain prefix, and then appends the selected macro(s) to the dashboard search. This is a relatively easy way to enable users to specify "custom" filters that are not directly, or not easily, supported by existing UI controls. I already include a text box for users to add their own SPL snippets to the text, so users could already "manually" refer to macros; a dropdown is friendlier.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2019 08:26:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/List-of-Macros/m-p/245463#M2182</guid>
      <dc:creator>Graham_Hanningt</dc:creator>
      <dc:date>2019-11-15T08:26:54Z</dc:date>
    </item>
  </channel>
</rss>

