<?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: How come the comment &amp;quot;macro&amp;quot; is not working? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424446#M173400</link>
    <description>&lt;P&gt;what version of splunk you are running? Also make sure you are running it in search app.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jan 2019 21:33:10 GMT</pubDate>
    <dc:creator>Vijeta</dc:creator>
    <dc:date>2019-01-24T21:33:10Z</dc:date>
    <item>
      <title>How come the comment "macro" is not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424445#M173399</link>
      <description>&lt;P&gt;I must be out of my mind. The comments built-in macro since version 6.5.0 gives me an error that it can't find the macro.  I'm using the syntax found in the docs here, with my version of splunk in the url so it shows the one for my version.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.6.10/Search/Addcommentstosearches"&gt;https://docs.splunk.com/Documentation/Splunk/6.6.10/Search/Addcommentstosearches&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=* `comment("THIS IS A COMMENT")`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this gives me an error&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt;Error in 'SearchParser': The search specifies a macro 'comment' that cannot be found.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;What could I be doing incorrectly?&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 21:25:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424445#M173399</guid>
      <dc:creator>weidertc</dc:creator>
      <dc:date>2019-01-24T21:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: How come the comment "macro" is not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424446#M173400</link>
      <description>&lt;P&gt;what version of splunk you are running? Also make sure you are running it in search app.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 21:33:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424446#M173400</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-01-24T21:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: How come the comment "macro" is not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424447#M173401</link>
      <description>&lt;P&gt;i am on v 6.6.10.  So I can't run this in all the apps with a search bar?  it only works in search app?  Everyone here uses their own department's app to segregate pci/phi/etc with permissions.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 21:51:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424447#M173401</guid>
      <dc:creator>weidertc</dc:creator>
      <dc:date>2019-01-24T21:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: How come the comment "macro" is not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424448#M173402</link>
      <description>&lt;P&gt;For some reason the comment macro's sharing is set to "app" out of the box. You'll have to use a configuration package (app) or navigate to Settings&amp;gt;Advanced Search&amp;gt;Macros to update the permissions.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 22:04:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424448#M173402</guid>
      <dc:creator>dflodstrom</dc:creator>
      <dc:date>2019-01-24T22:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: How come the comment "macro" is not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424449#M173403</link>
      <description>&lt;P&gt;Check macros.conf in search app , you can copy macro for comments in other app if you need it. Try if your search with comment macro is working on search app, check permissions and copy to other app if needed.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 22:04:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424449#M173403</guid>
      <dc:creator>Vijeta</dc:creator>
      <dc:date>2019-01-24T22:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: How come the comment "macro" is not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424450#M173404</link>
      <description>&lt;P&gt;thanks, i'll work with the splunk admins.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 22:20:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424450#M173404</guid>
      <dc:creator>weidertc</dc:creator>
      <dc:date>2019-01-24T22:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: How come the comment "macro" is not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424451#M173405</link>
      <description>&lt;P&gt;Thanks, now I see it, and it's set to app permissions.  I'll work with our Splunk admins to update this.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 22:25:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424451#M173405</guid>
      <dc:creator>weidertc</dc:creator>
      <dc:date>2019-01-24T22:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: How come the comment "macro" is not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424452#M173406</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I am experiencing the same as Chris but I have investigated the macro properties of the Comment macro:&lt;BR /&gt;
&lt;IMG src="https://community.splunk.com/storage/temp/275939-splunk-does-not-like-comments-2019-10-28.png" alt="alt text" /&gt;&lt;BR /&gt;
And I am going to use Comments in the service_iam_na application listed in the Permissions overview.&lt;/P&gt;

&lt;P&gt;What is cause of my problem ?&lt;/P&gt;

&lt;P&gt;,&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:45:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424452#M173406</guid>
      <dc:creator>petrose</dc:creator>
      <dc:date>2020-09-30T02:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: How come the comment "macro" is not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424453#M173407</link>
      <description>&lt;P&gt;My problem was resolved ! First issue:&lt;BR /&gt;
'Everyone' had Read access to macro, doesn't mean that every Dashboard can use it...&lt;/P&gt;

&lt;P&gt;You have to explicitly allow it to Read the Macro...in order for it to work.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 09:16:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-come-the-comment-quot-macro-quot-is-not-working/m-p/424453#M173407</guid>
      <dc:creator>petrose</dc:creator>
      <dc:date>2019-11-06T09:16:36Z</dc:date>
    </item>
  </channel>
</rss>

