<?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: Add comments to search code inside search field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526809#M148701</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/80737"&gt;@inventsekar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;index=apps
host=host*
CASE(ERROR) AND "com.*"
```some comment here```&lt;/PRE&gt;</description>
    <pubDate>Wed, 28 Oct 2020 10:09:23 GMT</pubDate>
    <dc:creator>sergeblr</dc:creator>
    <dc:date>2020-10-28T10:09:23Z</dc:date>
    <item>
      <title>Add comments to search code inside search field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526789#M148697</link>
      <description>&lt;P&gt;Hello everybody, using Splunk 8.1.0 and relaterd to&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.0/Search/Parsingsearches" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.0/Search/Parsingsearches&lt;/A&gt;&amp;nbsp;trying to add comments via ```my_comment``` to search request, but there is error.&lt;/P&gt;&lt;P&gt;Only `comment("my_comment")` works, but it is not what i need...&lt;/P&gt;&lt;P&gt;How to add comment to search request like /* my_comment */ or // my_comment ?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 09:10:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526789#M148697</guid>
      <dc:creator>sergeblr</dc:creator>
      <dc:date>2020-10-28T09:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Add comments to search code inside search field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526807#M148699</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228177"&gt;@sergeblr&lt;/a&gt;&amp;nbsp;may we know your full search query(after hiding hostname, important field-values) and Splunk version please&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 10:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526807#M148699</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2020-10-28T10:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add comments to search code inside search field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526809#M148701</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/80737"&gt;@inventsekar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;index=apps
host=host*
CASE(ERROR) AND "com.*"
```some comment here```&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Oct 2020 10:09:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526809#M148701</guid>
      <dc:creator>sergeblr</dc:creator>
      <dc:date>2020-10-28T10:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Add comments to search code inside search field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526816#M148702</link>
      <description>&lt;LI-CODE lang="markup"&gt;index=apps host=host* ERROR  ```some comment here```&lt;/LI-CODE&gt;&lt;P&gt;are you able to do this search, please check.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 10:22:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526816#M148702</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2020-10-28T10:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Add comments to search code inside search field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526817#M148703</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Безымянный.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11532i3534EFA07F0BADCB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Безымянный.png" alt="Безымянный.png" /&gt;&lt;/span&gt;Returns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error in 'SearchParser': You must provide a macro expression.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Splunk 8.0.1&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 10:29:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526817#M148703</guid>
      <dc:creator>sergeblr</dc:creator>
      <dc:date>2020-10-28T10:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add comments to search code inside search field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526820#M148704</link>
      <description>&lt;P&gt;please try this... (this works fine for me)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal CASE(ERROR) /*test*/&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS&amp;nbsp; - karma points appreciated, if this solves your question, please accept it as the solution. thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 10:35:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526820#M148704</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2020-10-28T10:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Add comments to search code inside search field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526842#M148710</link>
      <description>&lt;P&gt;For this query /*test*/ parsed as:&lt;/P&gt;&lt;P&gt;'/' symbol, THEN any text (*), THEN 'test' word, THEN again any text (*) and '/' symbol, so this is not parsed as comment :((&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 11:55:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Add-comments-to-search-code-inside-search-field/m-p/526842#M148710</guid>
      <dc:creator>sergeblr</dc:creator>
      <dc:date>2020-10-28T11:55:34Z</dc:date>
    </item>
  </channel>
</rss>

