<?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: Does a search variable in filter exception within search command require special handling? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Does-a-search-variable-in-filter-exception-within-search-command/m-p/607428#M14072</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I understand that. My question was specific to &lt;STRONG&gt;search&lt;/STRONG&gt; &lt;U&gt;field&lt;/U&gt; that that is a part of REST call return.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is REST call similar to sub-search in regards to the special meaning of search field?&lt;BR /&gt;&lt;BR /&gt;Like something similar to&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Subsearch-fields-quot-query-quot-quot-search-quot-How-do-I-know/m-p/62422?" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Splunk-Search/Subsearch-fields-quot-query-quot-quot-search-quot-How-do-I-know/m-p/62422?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 21:44:34 GMT</pubDate>
    <dc:creator>pm771</dc:creator>
    <dc:date>2022-07-28T21:44:34Z</dc:date>
    <item>
      <title>Does a search variable in filter exception within search command require special handling?</title>
      <link>https://community.splunk.com/t5/Alerting/Does-a-search-variable-in-filter-exception-within-search-command/m-p/607398#M14070</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This is my 2nd follow-up regarding this solution:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.splunk.com/t5/Alerting/How-can-I-query-to-get-all-alerts-which-are-configured/m-p/288846#M9051" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Alerting/How-can-I-query-to-get-all-alerts-which-are-configured/m-p/...&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;My question now is about the &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;search&lt;/FONT&gt;&lt;/STRONG&gt; field (that contains the actual Splunk query behind each alert).&amp;nbsp; Does this field require any special handling?&lt;BR /&gt;&lt;BR /&gt;If I need to use this field for filtering purposes inside a &lt;U&gt;search command&lt;/U&gt;, would it be different than using any other field like &lt;STRONG&gt;title&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Or can I simply use something like following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;|rest/servicesNS/-/-/saved/searches | search alert.track=1 AND title="prefix*" AND search="index=someindex*"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 21:23:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Does-a-search-variable-in-filter-exception-within-search-command/m-p/607398#M14070</guid>
      <dc:creator>pm771</dc:creator>
      <dc:date>2022-07-28T21:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Search variable in filter exception within search command</title>
      <link>https://community.splunk.com/t5/Alerting/Does-a-search-variable-in-filter-exception-within-search-command/m-p/607412#M14071</link>
      <description>&lt;P&gt;When you run a query without a leading | character you are running an implicit &lt;FONT face="courier new,courier"&gt;search&lt;/FONT&gt; command.&amp;nbsp; Explicit &lt;FONT face="courier new,courier"&gt;search&lt;/FONT&gt; commands are very much the same.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 18:02:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Does-a-search-variable-in-filter-exception-within-search-command/m-p/607412#M14071</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-28T18:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Does a search variable in filter exception within search command require special handling?</title>
      <link>https://community.splunk.com/t5/Alerting/Does-a-search-variable-in-filter-exception-within-search-command/m-p/607428#M14072</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I understand that. My question was specific to &lt;STRONG&gt;search&lt;/STRONG&gt; &lt;U&gt;field&lt;/U&gt; that that is a part of REST call return.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is REST call similar to sub-search in regards to the special meaning of search field?&lt;BR /&gt;&lt;BR /&gt;Like something similar to&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Subsearch-fields-quot-query-quot-quot-search-quot-How-do-I-know/m-p/62422?" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Splunk-Search/Subsearch-fields-quot-query-quot-quot-search-quot-How-do-I-know/m-p/62422?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 21:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Does-a-search-variable-in-filter-exception-within-search-command/m-p/607428#M14072</guid>
      <dc:creator>pm771</dc:creator>
      <dc:date>2022-07-28T21:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Does a search variable in filter exception within search command require special handling?</title>
      <link>https://community.splunk.com/t5/Alerting/Does-a-search-variable-in-filter-exception-within-search-command/m-p/607435#M14073</link>
      <description>&lt;P&gt;It's just a field.&amp;nbsp; There's nothing wrong or special about&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| search search=foo&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 29 Jul 2022 00:34:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Does-a-search-variable-in-filter-exception-within-search-command/m-p/607435#M14073</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-29T00:34:15Z</dc:date>
    </item>
  </channel>
</rss>

