<?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 to write query to show only failure records from the following query with field filter is Applicationstatus_MFT!=&amp;quot;Success&amp;quot; in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-write-query-to-show-only-failure-records-from-the/m-p/401350#M168744</link>
    <description>&lt;P&gt;When I run with the above command :I got this message  "no results found yet". Right now I dont have failed records so should I trust this query as correct?&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jun 2018 11:04:07 GMT</pubDate>
    <dc:creator>Malliv</dc:creator>
    <dc:date>2018-06-25T11:04:07Z</dc:date>
    <item>
      <title>how to write query to show only failure records from the following query with field filter is Applicationstatus_MFT!="Success"</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-write-query-to-show-only-failure-records-from-the/m-p/401348#M168742</link>
      <description>&lt;P&gt;index=axway* sourcetype="&lt;EM&gt;:messages"  SENDERROUTINGID="KNPROD" |stats count by PRODUCTIONFILENAME|fields - count |rename PRODUCTIONFILENAME as FileName |join type=left FileName [search index=axway&lt;/EM&gt;  APPLICATION="CRD_3PL_TO_S4_GOODSRCPT" STATE=*  | eval temp=split(FILENAME,"/")| eval count=mvcount(temp)| eval FileName=mvindex(temp,-1) |eval status=if(STATE like "%COMPLETE%" ,"Success","Failure") |stats latest(status) as status by APPLICATION FileName |stats count(eval(status="Failure")) as FailureCount by  FileName APPLICATION status |replace CRD_3PL_TO_S4_GOODSRCPT&lt;BR /&gt;
 WITH "IDD_CRD_SCS_022" IN APPLICATION    |rename APPLICATION as InterfaceID ] |eval Applicationstatus_MFT=if(status="_", "Failure","Success") |table InterfaceID FileName Applicationstatus_MFT |stats count(FileName) as FileVolume count(eval(Applicationstatus_MFT!="Success")) as FailFileCount by InterfaceID   Applicationstatus_MFT&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:08:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-write-query-to-show-only-failure-records-from-the/m-p/401348#M168742</guid>
      <dc:creator>Malliv</dc:creator>
      <dc:date>2020-09-29T20:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to write query to show only failure records from the following query with field filter is Applicationstatus_MFT!="Success"</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-write-query-to-show-only-failure-records-from-the/m-p/401349#M168743</link>
      <description>&lt;P&gt;You can just add &lt;CODE&gt;| search ApplicationStatus_MFT!="Success"&lt;/CODE&gt; after your eval that creates Applicationstatus_MFT.   &lt;/P&gt;

&lt;P&gt;Though if you area only showing failures you may be able to remove some of the other pieces from your query. &lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 13:38:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-write-query-to-show-only-failure-records-from-the/m-p/401349#M168743</guid>
      <dc:creator>kmaron</dc:creator>
      <dc:date>2018-06-22T13:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to write query to show only failure records from the following query with field filter is Applicationstatus_MFT!="Success"</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-write-query-to-show-only-failure-records-from-the/m-p/401350#M168744</link>
      <description>&lt;P&gt;When I run with the above command :I got this message  "no results found yet". Right now I dont have failed records so should I trust this query as correct?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 11:04:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-write-query-to-show-only-failure-records-from-the/m-p/401350#M168744</guid>
      <dc:creator>Malliv</dc:creator>
      <dc:date>2018-06-25T11:04:07Z</dc:date>
    </item>
  </channel>
</rss>

