<?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: regex to capture first two lines following the word 'ERROR' in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-regex-to-capture-first-two-lines-following-the/m-p/599057#M12634</link>
    <description>&lt;P&gt;What have you tried so far?&amp;nbsp; How did those efforts fail to meet expectations?&lt;BR /&gt;&lt;SPAN&gt;Are the lines all in a single event or in multiple events?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 12:31:14 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-05-24T12:31:14Z</dc:date>
    <item>
      <title>How to create a regex to capture first two lines following the word 'ERROR'?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-regex-to-capture-first-two-lines-following-the/m-p/599055#M12633</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I need to capture first two line following the word 'ERROR' from the log file.&lt;/P&gt;
&lt;P&gt;Example 1:&lt;BR /&gt;2022-05-20 11:36:22,393 ERROR [com.https.custom.integration.Integration](WFA:346899 - 5678976 triExecute:671116263 IE=671116263) com.https.platform.smartobject.dataaccess.SmartObjectNotFoundException: No Smart Object with id '-1' exists&lt;BR /&gt;com.https.platform.smartobject.dataaccess.SmartObjectNotFoundException: No Smart Object with id '-1' exists&lt;BR /&gt;at com.https.platform.smartobject.dataaccess.SmartObjectDaoImpl.read(SmartObjectDaoImpl.java:131)&lt;BR /&gt;&lt;BR /&gt;Example 2:&lt;BR /&gt;2022-05-20 11:36:36,804 ERROR [com.https.ws.https](Thread-789) com.https.ws.errors.AccessException: User does not have access to create records in this GUI. [User:- , GUI: triIntegrationInstance]&lt;BR /&gt;com.https.ws.errors.AccessException: User does not have access to create records in this GUI. [User: ahmuy, wasim- kb4567, GUI: triIntegrationInstance]&lt;BR /&gt;at com.https.ws.utils.Validator.validateCreateAccess(Validator.java:588)&lt;BR /&gt;at com.https.ws.WSProcessThread.processRecord(WSProcessThread.java:258)&lt;BR /&gt;at com.https.ws.WSProcessThread.run(WSProcessThread.java:147)&lt;BR /&gt;&lt;BR /&gt;Please help me with regex.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 15:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-regex-to-capture-first-two-lines-following-the/m-p/599055#M12633</guid>
      <dc:creator>Ashwini008</dc:creator>
      <dc:date>2022-05-24T15:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: regex to capture first two lines following the word 'ERROR'</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-regex-to-capture-first-two-lines-following-the/m-p/599057#M12634</link>
      <description>&lt;P&gt;What have you tried so far?&amp;nbsp; How did those efforts fail to meet expectations?&lt;BR /&gt;&lt;SPAN&gt;Are the lines all in a single event or in multiple events?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 12:31:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-regex-to-capture-first-two-lines-following-the/m-p/599057#M12634</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-24T12:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: regex to capture first two lines following the word 'ERROR'</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-regex-to-capture-first-two-lines-following-the/m-p/599206#M12669</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;It is single event.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;Can you please help here&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 06:15:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-regex-to-capture-first-two-lines-following-the/m-p/599206#M12669</guid>
      <dc:creator>Ashwini008</dc:creator>
      <dc:date>2022-05-25T06:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: regex to capture first two lines following the word 'ERROR'</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-regex-to-capture-first-two-lines-following-the/m-p/599214#M12672</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex "ERROR (?&amp;lt;error&amp;gt;.*\n.*)"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 May 2022 06:25:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-create-a-regex-to-capture-first-two-lines-following-the/m-p/599214#M12672</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-05-25T06:25:06Z</dc:date>
    </item>
  </channel>
</rss>

