<?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 do I trigger alert if there are extracts where TOTAL_PIECES &amp;gt;0 and RETRIEVAL_ATTEMPT= 10? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607927#M211379</link>
    <description>&lt;P&gt;Thanks, you guys have been a great helping solve these problems.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2022 13:56:14 GMT</pubDate>
    <dc:creator>majilan1</dc:creator>
    <dc:date>2022-08-02T13:56:14Z</dc:date>
    <item>
      <title>How do I trigger alert if there are extracts where TOTAL_PIECES &gt;0 and RETRIEVAL_ATTEMPT= 10?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607835#M211348</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want the alert to trigger if there are extracts where&amp;nbsp;TOTAL_PIECES &amp;gt;0 and&amp;nbsp;RETRIEVAL_ATTEMPT= 10&lt;/P&gt;
&lt;P&gt;Is there anybody can help with this please?&lt;/P&gt;
&lt;P&gt;My search is,&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=A source=B sourcetype=c

| fillnull value=0 TOTAL_PIECES  RETRIEVAL_ATTEMPT

| where RETRIEVAL_ATTEMPT= 10

| rename "SASP_CTRL_SEQ_NBR" as "Extract_Seq_ID" ,"IV_STS" as "IV_Status", "RETRIEVAL_ATTEMPT" as "Retrieval_Attempt","PSTG_STMT_N" as "Pos_St","TOTAL_PIECES" as "Piece_Count"

| table "Extract_Seq_ID","IV_Status","Retrieval_Attempt","Pos_St","Piece_Count"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 20:07:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607835#M211348</guid>
      <dc:creator>majilan1</dc:creator>
      <dc:date>2022-08-01T20:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I trigger alert if there are extracts where TOTAL_PIECES &gt;0 and RETRIEVAL_ATTEMPT= 10?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607859#M211354</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246610"&gt;@majilan1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if your search is correctly running, you have only to save it ("Save As")with the scheduling you need, what's the problem?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 06:44:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607859#M211354</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-08-02T06:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I trigger alert if there are extracts where TOTAL_PIECES &gt;0 and RETRIEVAL_ATTEMPT= 10?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607867#M211358</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Just like&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;said. Use Save As after you have run your SPL query ( add &amp;nbsp;"AND TOTAL_PIECES &amp;gt; 0" to your where line). Then add Trigger Conditions when there are more than 0 results.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 07:29:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607867#M211358</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-08-02T07:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I trigger alert if there are extracts where TOTAL_PIECES &gt;0 and RETRIEVAL_ATTEMPT= 10?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607909#M211370</link>
      <description>&lt;P class=""&gt;Alert should trigger if:&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;SPAN&gt;There are any extracts where TOTAL_PIECES is &amp;gt;0 and the RETRIEVAL_ATTEMPT is = 10.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;I added&amp;nbsp;AND TOTAL_PIECES &amp;gt; 0, but I'm not getting no result. The thing&amp;nbsp; is when I move that&amp;nbsp;TOTAL_PIECES is &amp;gt;0&amp;nbsp; I get some data, but I need to trigger based on the condition above.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 12:09:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607909#M211370</guid>
      <dc:creator>majilan1</dc:creator>
      <dc:date>2022-08-02T12:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I trigger alert if there are extracts where TOTAL_PIECES &gt;0 and RETRIEVAL_ATTEMPT= 10?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607923#M211376</link>
      <description>&lt;P&gt;Thanks! It works, I forgot to add the second part of the condition:&amp;nbsp;&lt;SPAN&gt;TOTAL_PIECES &amp;gt; 0.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 13:48:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607923#M211376</guid>
      <dc:creator>majilan1</dc:creator>
      <dc:date>2022-08-02T13:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I trigger alert if there are extracts where TOTAL_PIECES &gt;0 and RETRIEVAL_ATTEMPT= 10?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607924#M211377</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246610"&gt;@majilan1&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 13:49:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607924#M211377</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-08-02T13:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I trigger alert if there are extracts where TOTAL_PIECES &gt;0 and RETRIEVAL_ATTEMPT= 10?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607927#M211379</link>
      <description>&lt;P&gt;Thanks, you guys have been a great helping solve these problems.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 13:56:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-trigger-alert-if-there-are-extracts-where-TOTAL-PIECES/m-p/607927#M211379</guid>
      <dc:creator>majilan1</dc:creator>
      <dc:date>2022-08-02T13:56:14Z</dc:date>
    </item>
  </channel>
</rss>

