<?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: Need Help with Splunk Alert in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-Help-with-Splunk-Alert/m-p/709384#M239746</link>
    <description>&lt;P&gt;Try using the &lt;FONT face="courier new,courier"&gt;match&lt;/FONT&gt; function to test the field value.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=XXX_XXX_XXX
| eval job_status=if(match('MSGTXT', "ABEND"),"ko","ok")
| where job_status="ko"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2025 00:49:47 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2025-01-22T00:49:47Z</dc:date>
    <item>
      <title>Need Help with Splunk Alert</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-Help-with-Splunk-Alert/m-p/709368#M239740</link>
      <description>&lt;P&gt;I need help with below splunk query&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=XXX_XXX_XXX
| eval job_status=if( 'MSGTXT' = "*ABEND*","ko","ok")
| where job_status="ko"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I change job_status="ok" its working but not for above condition, appreciate any suggestion on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 15:07:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-Help-with-Splunk-Alert/m-p/709368#M239740</guid>
      <dc:creator>Amit79</dc:creator>
      <dc:date>2025-01-22T15:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with Splunk Alert</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-Help-with-Splunk-Alert/m-p/709384#M239746</link>
      <description>&lt;P&gt;Try using the &lt;FONT face="courier new,courier"&gt;match&lt;/FONT&gt; function to test the field value.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=XXX_XXX_XXX
| eval job_status=if(match('MSGTXT', "ABEND"),"ko","ok")
| where job_status="ko"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 00:49:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-Help-with-Splunk-Alert/m-p/709384#M239746</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-01-22T00:49:47Z</dc:date>
    </item>
  </channel>
</rss>

