<?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: Check first and last events in particular transaction  and schedule alert in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Check-first-and-last-events-in-particular-transaction-and/m-p/550837#M10481</link>
    <description>&lt;P&gt;If all the events for the same transaction have the same unique transaction id, it is easy to use that as the correlation id to gather events together. Then check to see if the last event meets your criteria for an alert to be raised.&lt;/P&gt;</description>
    <pubDate>Fri, 07 May 2021 14:04:31 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-05-07T14:04:31Z</dc:date>
    <item>
      <title>Check first and last events in particular transaction  and schedule alert</title>
      <link>https://community.splunk.com/t5/Alerting/Check-first-and-last-events-in-particular-transaction-and/m-p/550834#M10479</link>
      <description>&lt;P&gt;I am new to splunk. Please help me with the below content.&lt;BR /&gt;I need to check first and last events of particular transaction and alert should be triggered if the sequence is not followed or any process stopped in middle.&lt;BR /&gt;How can i do that ?&lt;BR /&gt;Can anyone please help me on the same?&lt;BR /&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 13:52:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Check-first-and-last-events-in-particular-transaction-and/m-p/550834#M10479</guid>
      <dc:creator>vineela</dc:creator>
      <dc:date>2021-05-07T13:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Check first and last events in particular transaction  and schedule alert</title>
      <link>https://community.splunk.com/t5/Alerting/Check-first-and-last-events-in-particular-transaction-and/m-p/550836#M10480</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/234209"&gt;@vineela&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you share some sample of your logs?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 14:01:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Check-first-and-last-events-in-particular-transaction-and/m-p/550836#M10480</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-07T14:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Check first and last events in particular transaction  and schedule alert</title>
      <link>https://community.splunk.com/t5/Alerting/Check-first-and-last-events-in-particular-transaction-and/m-p/550837#M10481</link>
      <description>&lt;P&gt;If all the events for the same transaction have the same unique transaction id, it is easy to use that as the correlation id to gather events together. Then check to see if the last event meets your criteria for an alert to be raised.&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 14:04:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Check-first-and-last-events-in-particular-transaction-and/m-p/550837#M10481</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-05-07T14:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Check first and last events in particular transaction  and schedule alert</title>
      <link>https://community.splunk.com/t5/Alerting/Check-first-and-last-events-in-particular-transaction-and/m-p/550839#M10482</link>
      <description>&lt;P&gt;yes,all events have unique transaction id .Can you please tell me the query how to correlate all the events based on it and check if the last event is not success&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 14:14:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Check-first-and-last-events-in-particular-transaction-and/m-p/550839#M10482</guid>
      <dc:creator>vineela</dc:creator>
      <dc:date>2021-05-07T14:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Check first and last events in particular transaction  and schedule alert</title>
      <link>https://community.splunk.com/t5/Alerting/Check-first-and-last-events-in-particular-transaction-and/m-p/550844#M10483</link>
      <description>&lt;LI-CODE lang="markup"&gt;--- search ---
| stats latest(event) as last_event earliest(event) as first_event by transactionid&lt;/LI-CODE&gt;&lt;P&gt;event is the field you want to check and transactionid is your correlation id. stats will remove everything not mentioned from the pipeline, so if there are other field you are interested in, they need to be included in the stats command to e.g. latest(otherfield) as last_otherfield&lt;/P&gt;&lt;P&gt;Note that the latest and earliest functions behave slightly differently in different releases of splunk, so you may need to sort by _time first or possibly use last and first functions instead or possibly both of these.&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 14:28:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Check-first-and-last-events-in-particular-transaction-and/m-p/550844#M10483</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-05-07T14:28:08Z</dc:date>
    </item>
  </channel>
</rss>

