<?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: group the errors that come between 2 events in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584745#M47941</link>
    <description>&lt;P&gt;Assuming event stream is already sorted in the manner shown in the example i.e. latest event first&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval group=if(LogType="Bot End",1,0)
| streamstats sum(group) as group global=f by ProcessName
| stats values(LogMessage) as LogMessage first(LogDate) as Date by ProcessName group&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 11 Feb 2022 14:52:31 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-02-11T14:52:31Z</dc:date>
    <item>
      <title>How to group the errors that come between 2 events?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584703#M47932</link>
      <description>&lt;P&gt;We have a couple of processes that runs regularly and I want to capture the errors and groups them run wise and date wise. I tried with transactions but its not splitting run wise and gave all the errors in the same group. Please help thanks&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LogDate = "01/28/2022 03:00:47.417" , LogNo = "133" , LogLevel = "INFO" , LogType = "Bot End" , LogMessage = "Logger Session Stopped; Total run time: 0:17:22.002" , TimeTaken = "0:00:00.500" , ProcessName = "FARollforward" , TaskName = "Logger" , RPAEnvironment = "PROD" , LogId = "0133010____120220128030047417" , MachineName = "xxxxx" , User = "xxxxxx"

LogDate = "01/28/2022 03:00:38.679" , LogNo = "125" , LogLevel = "ERROR" , LogType = "Process Level" , LogMessage = "EXCEPTION: CustomSubTaskError;" , TimeTaken = "0:00:00.005" , ProcessName = "FARollforward" , TaskName = "NavigateOracle" , RPAEnvironment = "PROD" , LogId = "0125010____120220128030038679" , MachineName = "xxxxx" , User = "xxxxxx"

LogDate = "01/28/2022 01:01:47.004" , LogNo = "51" , LogLevel = "ERROR" , LogType = "Process Level" , LogMessage = "EXCEPTION: Unable to perform LEFTCLICK action. , TimeTaken = "0:00:00.017" , ProcessName = "FARollforward" , TaskName = "FARollforward-NavigateOracle" , RPAEnvironment = "PROD" , LogId = "0051010____120220128010147004" , MachineName = "xxxxxxx" , User = "xxxxxx"

LogDate = "01/27/2022 23:59:20.534" , LogNo = "1" , LogLevel = "INFO" , LogType = "Bot Start" , LogMessage = "Logger Session Started" , TimeTaken = "0:00:00.000" , ProcessName = "FARollforward" , TaskName = "Logger" , RPAEnvironment = "PROD" , LogId = "0001010____120220127235920534" , MachineName = "xxxxxx" , User = "xxxxx"&lt;/LI-CODE&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;TABLE border="1" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;ProcessName&lt;/TD&gt;
&lt;TD&gt;Errors&lt;/TD&gt;
&lt;TD&gt;Date&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;DIV&gt;FARollForward&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;DIV&gt;EXCEPTION: CustomSubTaskError&lt;BR /&gt;EXCEPTION: Unable to perform LEFTCLICK action&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;DIV&gt;01/28/2022&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;DIV&gt;Cp&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;DIV&gt;EXCEPTION: CustomSubTaskError&lt;BR /&gt;EXCEPTION: Unable to perform LEFTCLICK action&lt;BR /&gt;Exception: Failed&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;DIV&gt;02/07/2022&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;DIV&gt;FARollForward&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;DIV&gt;EXCEPTION: CustomSubTaskError&lt;BR /&gt;EXCEPTION: Unable to perform LEFTCLICK action&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;DIV&gt;02/08/2022&lt;/DIV&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Feb 2022 17:40:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584703#M47932</guid>
      <dc:creator>kranthimutyala</dc:creator>
      <dc:date>2022-02-11T17:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: group the errors that come between 2 events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584710#M47934</link>
      <description>&lt;P&gt;Please can you explain a bit more about your events?&lt;/P&gt;&lt;P&gt;Are the fields already extracted?&lt;/P&gt;&lt;P&gt;Does LogNo restart at 1 and go up for each process instance?&lt;/P&gt;&lt;P&gt;Do your events have _time = LogDate?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 12:37:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584710#M47934</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-11T12:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: group the errors that come between 2 events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584714#M47935</link>
      <description>&lt;P&gt;OK, but which field or combination of fields should distinguish one run from another?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 12:48:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584714#M47935</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-02-11T12:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: group the errors that come between 2 events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584735#M47938</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;process starts with&amp;nbsp;&lt;SPAN&gt;LogType = "&lt;/SPAN&gt;&lt;SPAN&gt;Bot Start" And ends with&amp;nbsp;LogType = "Bot end" For every run.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 14:19:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584735#M47938</guid>
      <dc:creator>kranthimutyala</dc:creator>
      <dc:date>2022-02-11T14:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: group the errors that come between 2 events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584737#M47939</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes fields are already extracted&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Whenever the process triggers it starts with LogNo 1 and it can go to any number (end LogNo will be inconsistent depends on process execution and end)&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;process starts with LogType = "Bot Start" And ends with LogType = "Bot end" For every run.&lt;/P&gt;&lt;P&gt;Yes all the events have _time but there are instances where process runs more than once so to be precise it should differentiate the errors and group them for each run for different processes&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply , let me know if any additional details are required&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 14:27:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584737#M47939</guid>
      <dc:creator>kranthimutyala</dc:creator>
      <dc:date>2022-02-11T14:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: group the errors that come between 2 events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584741#M47940</link>
      <description>&lt;P&gt;Can process instances overlap e.g. can one instance of process FARollForward start before another instance of process FARollForward finishes?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 14:35:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584741#M47940</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-11T14:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: group the errors that come between 2 events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584745#M47941</link>
      <description>&lt;P&gt;Assuming event stream is already sorted in the manner shown in the example i.e. latest event first&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval group=if(LogType="Bot End",1,0)
| streamstats sum(group) as group global=f by ProcessName
| stats values(LogMessage) as LogMessage first(LogDate) as Date by ProcessName group&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Feb 2022 14:52:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584745#M47941</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-11T14:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: group the errors that come between 2 events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584747#M47942</link>
      <description>&lt;P&gt;So it's only about time-based sequence? Are you 100% sure that two runs cannot interleave?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 14:57:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584747#M47942</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-02-11T14:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: group the errors that come between 2 events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584755#M47943</link>
      <description>&lt;P&gt;No that never happens, the next process run would be triggered only if the current process is finished or errored out.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 15:22:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584755#M47943</guid>
      <dc:creator>kranthimutyala</dc:creator>
      <dc:date>2022-02-11T15:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: group the errors that come between 2 events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584756#M47944</link>
      <description>&lt;P&gt;yes, they never interfere at any time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 15:23:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584756#M47944</guid>
      <dc:creator>kranthimutyala</dc:creator>
      <dc:date>2022-02-11T15:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: group the errors that come between 2 events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584774#M47948</link>
      <description>&lt;P&gt;Looks like its grouping well but I'm getting all the events in between, I wanted to get only the exceptions like these if they occur&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Some of them are :&lt;/P&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;EXCEPTION:&lt;/STRONG&gt; Cannot find the window or application titled 'Oracle Enterprise Performance Management System Workspace, Fusion Edition - Google Chrome' that was open during recording. at Line: 50&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;EXCEPTION:&lt;/STRONG&gt; Please enter the source string. at Line: 27&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;EXCEPTION:&lt;/STRONG&gt; Unable to find CLIENT. Search Criteria did not match. at Line: 120&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;EXCEPTION:&lt;/STRONG&gt; Unable to find LABEL. Search Criteria did not match. at Line: 101&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;EXCEPTION:&lt;/STRONG&gt; Unable to find LABEL. Search Criteria did not match. at Line: 104&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to add LogMessage = "Exception:*" but it's giving only the latest run details and not all . Is there any way we can get only this info.Thanks for your reply.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 16:36:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584774#M47948</guid>
      <dc:creator>kranthimutyala</dc:creator>
      <dc:date>2022-02-11T16:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: group the errors that come between 2 events</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584776#M47949</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval group=if(LogType="Bot End",1,0)
| eval exception=if(match(LogMessage,"(?i)exception"),"Y",null())
| streamstats sum(group) as group global=f by ProcessName
| where exception="Y"
| stats values(LogMessage) as LogMessage first(LogDate) as Date by ProcessName group&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 11 Feb 2022 16:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-group-the-errors-that-come-between-2-events/m-p/584776#M47949</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-11T16:54:39Z</dc:date>
    </item>
  </channel>
</rss>

