<?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: Splunk querying nested log in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488547#M193987</link>
    <description>&lt;P&gt;getting error: rror in 'rex' command: Encountered the following error while compiling the regex 'Calling Checklist1003[^\n]+\n[^\n]+(?[^-]+)': Regex: unrecognized character after (? or (?-.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2019 18:50:03 GMT</pubDate>
    <dc:creator>shwetamis</dc:creator>
    <dc:date>2019-11-21T18:50:03Z</dc:date>
    <item>
      <title>Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488535#M193975</link>
      <description>&lt;P&gt;I have a log below and I want to get the value of Description under :-  Calling Checklist1003&lt;BR /&gt;
How do I do that ??&lt;/P&gt;

&lt;P&gt;Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
11/21/2019 09:21:53.297    Fault type: Application         Severity: Info&lt;BR /&gt;
11/21/2019 09:21:53.297   Description: This is a resubmission of a case that was underwritten using the&lt;BR /&gt;
11/21/2019 09:21:53.297                UW_10.30 KB engine&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 09:21:53.297&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 09:21:53.297  UWROUTER service will be used for underwriting&lt;BR /&gt;
11/21/2019 09:21:53.297  ----------------------------------------------------------------&lt;BR /&gt;
11/21/2019 09:21:53.297  Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
11/21/2019 09:21:53.297    Fault type: Application         Severity: Info&lt;BR /&gt;
11/21/2019 09:21:53.297   Description: This case will be underwritten using UWROUTER 1.0&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 09:21:53.297&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 09:21:53.297  Calling Checklist1003&lt;BR /&gt;
11/21/2019 09:21:53.345  ----------------------------------------------------------------&lt;BR /&gt;
11/21/2019 09:21:53.345  Message type:                         Code: 118310 dec, 1ce26 hex&lt;BR /&gt;
11/21/2019 09:21:53.345    Fault type: Undefined           Severity: Undefined&lt;BR /&gt;
11/21/2019 09:21:53.345   Description: Hired From Date is missing for secondary employment for&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 09:21:53.345                applicant .&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 09:21:53.345&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 09:21:53.358  -----------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 15:02:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488535#M193975</guid>
      <dc:creator>shwetamis</dc:creator>
      <dc:date>2019-11-21T15:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488536#M193976</link>
      <description>&lt;P&gt;To confirm, is that one log event or multiple log events in your example?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 17:23:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488536#M193976</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2019-11-21T17:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488537#M193977</link>
      <description>&lt;P&gt;One log event&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 17:30:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488537#M193977</guid>
      <dc:creator>shwetamis</dc:creator>
      <dc:date>2019-11-21T17:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488538#M193978</link>
      <description>&lt;P&gt;Here's how I would do it.  This assumes that the description will never be more than two lines long.  Here's a run anywhere example using the data you provided in the initial post:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults count=1
| eval data="Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 09:21:53.297 Fault type: Application Severity: Info
11/21/2019 09:21:53.297 Description: This is a resubmission of a case that was underwritten using the
11/21/2019 09:21:53.297 UW_10.30 KB engine
11/21/2019 09:21:53.297
11/21/2019 09:21:53.297 UWROUTER service will be used for underwriting
11/21/2019 09:21:53.297 ----------------------------------------------------------------
11/21/2019 09:21:53.297 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 09:21:53.297 Fault type: Application Severity: Info
11/21/2019 09:21:53.297 Description: This case will be underwritten using UWROUTER 1.0
11/21/2019 09:21:53.297
11/21/2019 09:21:53.297 Calling Checklist1003
11/21/2019 09:21:53.345 ----------------------------------------------------------------
11/21/2019 09:21:53.345 Message type: Code: 118310 dec, 1ce26 hex
11/21/2019 09:21:53.345 Fault type: Undefined Severity: Undefined
11/21/2019 09:21:53.345 Description: Hired From Date is missing for secondary employment for
11/21/2019 09:21:53.345 applicant .
11/21/2019 09:21:53.345
11/21/2019 09:21:53.358 -----------------------------------------"
| rex field=data mode=sed "s/([\n\r])\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}:\d{2}.\d{3}/\1/g"
| rex field=data max_match=2 "Description: (?&amp;lt;Description&amp;gt;[^\n]+\n[^\n]+)"
| eval Description=mvindex(Description, -1)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The last three lines of that are applicable to you except you would remove the &lt;CODE&gt;field=data&lt;/CODE&gt; and replace it with &lt;CODE&gt;field=_raw&lt;/CODE&gt;.  This removes the date/time stamps from the message and grab everything after each Description plus 1 line with the rex and then only returns the last Description in the event with the eval.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 17:41:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488538#M193978</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2019-11-21T17:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488539#M193979</link>
      <description>&lt;P&gt;Thank you, this is very good. But I have just pasted a part of the log just to show an example of how my data looks, the field Description is repeated about 7-8times in the log ( log is pretty big), so under eval data do I need to paste the whole log ?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 17:47:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488539#M193979</guid>
      <dc:creator>shwetamis</dc:creator>
      <dc:date>2019-11-21T17:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488540#M193980</link>
      <description>&lt;P&gt;If you could paste a whole log event as an example (with anything sensitive fuzzed out) and confirm if you want all of the descriptions or only the ones after some specific pattern.  If it's always after calling checklist1003 I can write a rex for that, if it's something else I would need to know that.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 17:51:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488540#M193980</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2019-11-21T17:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488541#M193981</link>
      <description>&lt;P&gt;11/21/2019 12:52:49.929  Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
11/21/2019 12:52:49.929    Fault type: Application         Severity: Info&lt;BR /&gt;
11/21/2019 12:52:49.929   Description: Verification Successful&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:49.929&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:49.929  ----------------------------------------------------------------&lt;BR /&gt;
11/21/2019 12:52:49.929  Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
11/21/2019 12:52:49.929    Fault type: Application         Severity: Info&lt;BR /&gt;
11/21/2019 12:52:49.929   Description: No errors were detected&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:49.929&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:49.929  Performing a CaseInit&lt;BR /&gt;
11/21/2019 12:52:49.929  LOAN_APPLICATION found. Send to store as Original Mismo 1003!&lt;BR /&gt;
11/21/2019 12:52:50.604  Validating reply from CaseInit&lt;BR /&gt;
11/21/2019 12:52:50.604  ----------------------------------------------------------------&lt;BR /&gt;
11/21/2019 12:52:50.604  Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
11/21/2019 12:52:50.604    Fault type: Application         Severity: Info&lt;BR /&gt;
11/21/2019 12:52:50.604   Description: CaseInit completed successfully&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.604&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.604  Inst ID set for EH-020 [12121231]&lt;BR /&gt;
11/21/2019 12:52:50.604  Casefile ID [xxxxxxx]&lt;BR /&gt;
11/21/2019 12:52:50.604  lenderCaseNo [yyyyyyy]&lt;BR /&gt;
11/21/2019 12:52:50.604  OperStatus_in_mp_casefile_set is not defined.&lt;BR /&gt;
11/21/2019 12:52:50.604  Calling Credential service to get traits &lt;BR /&gt;
11/21/2019 12:52:50.624  ----------------------------------------------------------------&lt;BR /&gt;
11/21/2019 12:52:50.624  Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
11/21/2019 12:52:50.624    Fault type: Application         Severity: Info&lt;BR /&gt;
11/21/2019 12:52:50.624   Description: InstTraitRequest completed successfully&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.624&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.625  Call RESTBridge for conventional loan with GUID [abbababsbasasas], &lt;BR /&gt;
11/21/2019 12:52:50.625       INST_INFO: 12121231|somecompany&lt;BR /&gt;
11/21/2019 12:52:50.625&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.625  Begin RESTBridgeSubsystem::callRESTBridge() ...&lt;BR /&gt;
11/21/2019 12:52:50.625  BASE_GUID for VDVS [abbababsbasasas]&lt;BR /&gt;
11/21/2019 12:52:50.625  Begin RESTBridgeSubsystem::sendRESTBridgeClientRequest...&lt;BR /&gt;
11/21/2019 12:52:50.625  Call RESTBridgeProxy.sendRESTBridgeRequest: &lt;BR /&gt;
11/21/2019 12:52:50.625       Svcname= RESTBridge&lt;BR /&gt;
11/21/2019 12:52:50.625       Major= 1&lt;BR /&gt;
11/21/2019 12:52:50.625       Minor= 0&lt;BR /&gt;
11/21/2019 12:52:50.625       Command= RESTBridge&lt;BR /&gt;
11/21/2019 12:52:50.628  End RESTBridgeSubsystem::sendRESTBridgeClientRequest&lt;BR /&gt;
11/21/2019 12:52:50.628  End RESTBridgeSubsystem::callRESTBridge()&lt;BR /&gt;
11/21/2019 12:52:50.628  SBAWF13Service_Impl:Underwrite:BESTFIT_PRODUCT_SPECIFICATIONS file attachment is not found.  This is NOT a multi-product case&lt;BR /&gt;
11/21/2019 12:52:50.629  Determine ProdAlt case: &lt;BR /&gt;
11/21/2019 12:52:50.629       ProdAlt Flag [OFF]&lt;BR /&gt;
11/21/2019 12:52:50.629       LoanType [01]&lt;BR /&gt;
11/21/2019 12:52:50.629       prodAltTrait [0]&lt;BR /&gt;
11/21/2019 12:52:50.629  This is NOT a Product alternative case!&lt;BR /&gt;
11/21/2019 12:52:50.629  CONVERSION_TARGET: RES,HTML&lt;BR /&gt;
11/21/2019 12:52:50.629  User format Request: XML,HTML&lt;BR /&gt;
11/21/2019 12:52:50.629  Determining the underwriting service to be used&lt;BR /&gt;
11/21/2019 12:52:50.629  Set to use Default engine UWROUTER,1,0 for underwriting&lt;BR /&gt;
11/21/2019 12:52:50.629  Underwrite::determineUWService::multiProductCase =0&lt;BR /&gt;
11/21/2019 12:52:50.629  This is not a multi-product case.&lt;BR /&gt;
11/21/2019 12:52:50.629  ----------------------------------------------------------------&lt;BR /&gt;
11/21/2019 12:52:50.629  Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
11/21/2019 12:52:50.629    Fault type: Application         Severity: Info&lt;BR /&gt;
11/21/2019 12:52:50.629   Description: This is a resubmission of a case that was underwritten using the&lt;BR /&gt;
11/21/2019 12:52:50.629                UW_10.30 KB engine&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.629&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.629  UWROUTER service will be used for underwriting&lt;BR /&gt;
11/21/2019 12:52:50.629  ----------------------------------------------------------------&lt;BR /&gt;
11/21/2019 12:52:50.629  Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
11/21/2019 12:52:50.629    Fault type: Application         Severity: Info&lt;BR /&gt;
11/21/2019 12:52:50.629   Description: This case will be underwritten using UWROUTER 1.0&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.629&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.629  Calling Checklist1003&lt;BR /&gt;
11/21/2019 12:52:50.670  ----------------------------------------------------------------&lt;BR /&gt;
11/21/2019 12:52:50.670  Message type:                         Code: -1 dec, ffffffff hex&lt;BR /&gt;
11/21/2019 12:52:50.670    Fault type: Unknown             Severity: Info&lt;BR /&gt;
11/21/2019 12:52:50.670   Description: Begin file type 104 checklist.&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.670&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.676  ----------------------------------------------------------------&lt;BR /&gt;
11/21/2019 12:52:50.676  Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
11/21/2019 12:52:50.676    Fault type: Application         Severity: Info&lt;BR /&gt;
11/21/2019 12:52:50.676   Description: Checklist1003 completed successfully&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.676&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.676  SBAWF13Service_Impl.Underwrite: _creditReptMISMO = '1'&lt;BR /&gt;
11/21/2019 12:52:50.676  SBAWF13Service_Impl.Underwrite: _MISMOVersion = '2.1'&lt;BR /&gt;
11/21/2019 12:52:50.684  Loan Type: [01]&lt;BR /&gt;
11/21/2019 12:52:50.708  ----------------------------------------------------------------&lt;BR /&gt;
11/21/2019 12:52:50.708  Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
11/21/2019 12:52:50.708    Fault type: Application         Severity: Info&lt;BR /&gt;
11/21/2019 12:52:50.708   Description: createCrReportRequest  completed successfully&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.708&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.708  No Credit Report requests are needed&lt;BR /&gt;
11/21/2019 12:52:50.708  Calling ChecklistCred&lt;BR /&gt;
11/21/2019 12:52:50.719  SINGLEIN=0&lt;BR /&gt;
11/21/2019 12:52:50.732  ----------------------------------------------------------------&lt;BR /&gt;
11/21/2019 12:52:50.732  Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
11/21/2019 12:52:50.732    Fault type: Application         Severity: Info&lt;BR /&gt;
11/21/2019 12:52:50.732   Description: ChecklistCred completed successfully&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.732&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:50.732  Autocopy not requested&lt;BR /&gt;
11/21/2019 12:52:50.732  command : UNDERWRITE&lt;BR /&gt;
11/21/2019 12:52:50.732  du underwrite : 1&lt;BR /&gt;
11/21/2019 12:52:50.732  set BASE_GUID for DUKB service: abbababsbasasas&lt;BR /&gt;
11/21/2019 12:52:50.732  Set processUndewrriteVars.conversionTarget = RES,HTML&lt;BR /&gt;
11/21/2019 12:52:50.732  Call IDGen for Doc_Type[1], ID_Type[4], ID_Qty[1]&lt;BR /&gt;
11/21/2019 12:52:50.749  IDGen returns condition [SUCCESS]&lt;BR /&gt;
11/21/2019 12:52:50.749  Successfully retrieved new FindingID: 2085534376&lt;BR /&gt;
11/21/2019 12:52:50.749  command : Underwrite&lt;BR /&gt;
11/21/2019 12:52:50.749  du underwrite : 1&lt;BR /&gt;
11/21/2019 12:52:50.749  Performing DU underwrite ... &lt;BR /&gt;
11/21/2019 12:52:50.749  Calling UWROUTER 1.0 to underwrite the case&lt;BR /&gt;
11/21/2019 12:52:50.750  Command[KB_Underwrite] set for Underwrite!&lt;BR /&gt;
11/21/2019 12:52:52.901  Validating reply from  UWROUTER_1_0&lt;BR /&gt;
11/21/2019 12:52:52.901  ----------------------------------------------------------------&lt;BR /&gt;
11/21/2019 12:52:52.901  Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
11/21/2019 12:52:52.901    Fault type: Application         Severity: Info&lt;BR /&gt;
11/21/2019 12:52:52.901   Description: UWROUTER completed successfully&lt;BR /&gt;&lt;BR /&gt;
11/21/2019 12:52:52.901  &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:03:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488541#M193981</guid>
      <dc:creator>shwetamis</dc:creator>
      <dc:date>2020-09-30T03:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488542#M193982</link>
      <description>&lt;P&gt;Actually try this instead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults count=1
| eval data="Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 09:21:53.297 Fault type: Application Severity: Info
11/21/2019 09:21:53.297 Description: This is a resubmission of a case that was underwritten using the
11/21/2019 09:21:53.297 UW_10.30 KB engine
11/21/2019 09:21:53.297
11/21/2019 09:21:53.297 UWROUTER service will be used for underwriting
11/21/2019 09:21:53.297 ----------------------------------------------------------------
11/21/2019 09:21:53.297 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 09:21:53.297 Fault type: Application Severity: Info
11/21/2019 09:21:53.297 Description: This case will be underwritten using UWROUTER 1.0
11/21/2019 09:21:53.297
11/21/2019 09:21:53.297 Calling Checklist1003
11/21/2019 09:21:53.345 ----------------------------------------------------------------
11/21/2019 09:21:53.345 Message type: Code: 118310 dec, 1ce26 hex
11/21/2019 09:21:53.345 Fault type: Undefined Severity: Undefined
11/21/2019 09:21:53.345 Description: Hired From Date is missing for secondary employment for
11/21/2019 09:21:53.345 applicant .
11/21/2019 09:21:53.345
11/21/2019 09:21:53.358 -----------------------------------------"
| rex field=data mode=sed "s/([\n\r])\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}:\d{2}.\d{3}/\1/g"
| rex field=data max_match=0 "Calling Checklist[^\n]+\n[^\n]+(?&amp;lt;checklist&amp;gt;[^\-]+)"
| rex field=checklist "Description: (?&amp;lt;Description&amp;gt;[^\e]+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I create a "checklist" field that grabs everything under calling checklist1003 between the "-" lines and then extracts the description from that.  That is a cleaner way to do it I believe.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 18:00:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488542#M193982</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2019-11-21T18:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488543#M193983</link>
      <description>&lt;P&gt;I believe that should work let me try.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 18:04:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488543#M193983</guid>
      <dc:creator>shwetamis</dc:creator>
      <dc:date>2019-11-21T18:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488544#M193984</link>
      <description>&lt;P&gt;It didn't work on your most recent example but this will:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults count=1
| eval data="11/21/2019 12:52:49.929 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 12:52:49.929 Fault type: Application Severity: Info
11/21/2019 12:52:49.929 Description: Verification Successful 
11/21/2019 12:52:49.929 
11/21/2019 12:52:49.929 ----------------------------------------------------------------
11/21/2019 12:52:49.929 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 12:52:49.929 Fault type: Application Severity: Info
11/21/2019 12:52:49.929 Description: No errors were detected 
11/21/2019 12:52:49.929 
11/21/2019 12:52:49.929 Performing a CaseInit
11/21/2019 12:52:49.929 LOAN_APPLICATION found. Send to store as Original Mismo 1003!
11/21/2019 12:52:50.604 Validating reply from CaseInit
11/21/2019 12:52:50.604 ----------------------------------------------------------------
11/21/2019 12:52:50.604 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 12:52:50.604 Fault type: Application Severity: Info
11/21/2019 12:52:50.604 Description: CaseInit completed successfully 
11/21/2019 12:52:50.604 
11/21/2019 12:52:50.604 Inst ID set for EH-020 [12121231]
11/21/2019 12:52:50.604 Casefile ID [xxxxxxx]
11/21/2019 12:52:50.604 lenderCaseNo [yyyyyyy]
11/21/2019 12:52:50.604 OperStatus_in_mp_casefile_set is not defined.
11/21/2019 12:52:50.604 Calling Credential service to get traits 
11/21/2019 12:52:50.624 ----------------------------------------------------------------
11/21/2019 12:52:50.624 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 12:52:50.624 Fault type: Application Severity: Info
11/21/2019 12:52:50.624 Description: InstTraitRequest completed successfully 
11/21/2019 12:52:50.624 
11/21/2019 12:52:50.625 Call RESTBridge for conventional loan with GUID [abbababsbasasas], 
11/21/2019 12:52:50.625 INST_INFO: 12121231|somecompany
11/21/2019 12:52:50.625 
11/21/2019 12:52:50.625 Begin RESTBridgeSubsystem::callRESTBridge() ...
11/21/2019 12:52:50.625 BASE_GUID for VDVS [abbababsbasasas]
11/21/2019 12:52:50.625 Begin RESTBridgeSubsystem::sendRESTBridgeClientRequest...
11/21/2019 12:52:50.625 Call RESTBridgeProxy.sendRESTBridgeRequest: 
11/21/2019 12:52:50.625 Svcname= RESTBridge
11/21/2019 12:52:50.625 Major= 1
11/21/2019 12:52:50.625 Minor= 0
11/21/2019 12:52:50.625 Command= RESTBridge
11/21/2019 12:52:50.628 End RESTBridgeSubsystem::sendRESTBridgeClientRequest
11/21/2019 12:52:50.628 End RESTBridgeSubsystem::callRESTBridge()
11/21/2019 12:52:50.628 SBAWF13Service_Impl:Underwrite:BESTFIT_PRODUCT_SPECIFICATIONS file attachment is not found. This is NOT a multi-product case
11/21/2019 12:52:50.629 Determine ProdAlt case: 
11/21/2019 12:52:50.629 ProdAlt Flag [OFF]
11/21/2019 12:52:50.629 LoanType [01]
11/21/2019 12:52:50.629 prodAltTrait [0]
11/21/2019 12:52:50.629 This is NOT a Product alternative case!
11/21/2019 12:52:50.629 CONVERSION_TARGET: RES,HTML
11/21/2019 12:52:50.629 User format Request: XML,HTML
11/21/2019 12:52:50.629 Determining the underwriting service to be used
11/21/2019 12:52:50.629 Set to use Default engine UWROUTER,1,0 for underwriting
11/21/2019 12:52:50.629 Underwrite::determineUWService::multiProductCase =0
11/21/2019 12:52:50.629 This is not a multi-product case.
11/21/2019 12:52:50.629 ----------------------------------------------------------------
11/21/2019 12:52:50.629 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 12:52:50.629 Fault type: Application Severity: Info
11/21/2019 12:52:50.629 Description: This is a resubmission of a case that was underwritten using the
11/21/2019 12:52:50.629 UW_10.30 KB engine 
11/21/2019 12:52:50.629 
11/21/2019 12:52:50.629 UWROUTER service will be used for underwriting
11/21/2019 12:52:50.629 ----------------------------------------------------------------
11/21/2019 12:52:50.629 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 12:52:50.629 Fault type: Application Severity: Info
11/21/2019 12:52:50.629 Description: This case will be underwritten using UWROUTER 1.0 
11/21/2019 12:52:50.629 
11/21/2019 12:52:50.629 Calling Checklist1003
11/21/2019 12:52:50.670 ----------------------------------------------------------------
11/21/2019 12:52:50.670 Message type: Code: -1 dec, ffffffff hex
11/21/2019 12:52:50.670 Fault type: Unknown Severity: Info
11/21/2019 12:52:50.670 Description: Begin file type 104 checklist. 
11/21/2019 12:52:50.670 
11/21/2019 12:52:50.676 ----------------------------------------------------------------
11/21/2019 12:52:50.676 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 12:52:50.676 Fault type: Application Severity: Info
11/21/2019 12:52:50.676 Description: Checklist1003 completed successfully 
11/21/2019 12:52:50.676 
11/21/2019 12:52:50.676 SBAWF13Service_Impl.Underwrite: _creditReptMISMO = '1'
11/21/2019 12:52:50.676 SBAWF13Service_Impl.Underwrite: _MISMOVersion = '2.1'
11/21/2019 12:52:50.684 Loan Type: [01]
11/21/2019 12:52:50.708 ----------------------------------------------------------------
11/21/2019 12:52:50.708 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 12:52:50.708 Fault type: Application Severity: Info
11/21/2019 12:52:50.708 Description: createCrReportRequest completed successfully 
11/21/2019 12:52:50.708 
11/21/2019 12:52:50.708 No Credit Report requests are needed
11/21/2019 12:52:50.708 Calling ChecklistCred
11/21/2019 12:52:50.719 SINGLEIN=0
11/21/2019 12:52:50.732 ----------------------------------------------------------------
11/21/2019 12:52:50.732 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 12:52:50.732 Fault type: Application Severity: Info
11/21/2019 12:52:50.732 Description: ChecklistCred completed successfully 
11/21/2019 12:52:50.732 
11/21/2019 12:52:50.732 Autocopy not requested
11/21/2019 12:52:50.732 command : UNDERWRITE
11/21/2019 12:52:50.732 du underwrite : 1
11/21/2019 12:52:50.732 set BASE_GUID for DUKB service: abbababsbasasas
11/21/2019 12:52:50.732 Set processUndewrriteVars.conversionTarget = RES,HTML
11/21/2019 12:52:50.732 Call IDGen for Doc_Type[1], ID_Type[4], ID_Qty[1]
11/21/2019 12:52:50.749 IDGen returns condition [SUCCESS]
11/21/2019 12:52:50.749 Successfully retrieved new FindingID: 2085534376
11/21/2019 12:52:50.749 command : Underwrite
11/21/2019 12:52:50.749 du underwrite : 1
11/21/2019 12:52:50.749 Performing DU underwrite ... 
11/21/2019 12:52:50.749 Calling UWROUTER 1.0 to underwrite the case
11/21/2019 12:52:50.750 Command[KB_Underwrite] set for Underwrite!
11/21/2019 12:52:52.901 Validating reply from UWROUTER_1_0
11/21/2019 12:52:52.901 ----------------------------------------------------------------
11/21/2019 12:52:52.901 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
11/21/2019 12:52:52.901 Fault type: Application Severity: Info
11/21/2019 12:52:52.901 Description: UWROUTER completed successfully 
11/21/2019 12:52:52.901 
"
| rex field=data mode=sed "s/([\n\r])\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}:\d{2}.\d{3}/\1/g"
| rex field=data max_match=0 "Calling Checklist[^\-]+[^\n]+\n[^\n]+(?&amp;lt;checklist&amp;gt;[^\-]+)"
| rex field=checklist "Description: (?&amp;lt;Description&amp;gt;[^\e]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 18:07:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488544#M193984</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2019-11-21T18:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488545#M193985</link>
      <description>&lt;P&gt;My Query: index=du sourcetype="du:sbaservice-log" du_service="sbawf1.3" | rex field=data mode=sed "s/([\n\r])\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}:\d{2}.\d{3}/\1/g"  | rex field=data max_match=0 "Calling Checklist1003[^\n]+\n[^\n]+(?[^-]+)"  | rex field=checklist "Description: (?[^\e]+)" | rex field=_raw "INST_INFO:\s\d+|(?.*)|" | rex field=_raw "lenderCaseNo\s[(?\d+)]" | eval BTime = strptime(Begin_time, "%H:%M:%S.%3N")  | eval CTime = strptime(Completion_time, "%H:%M:%S.%3N")  | eval ResTime=CTime-BTime&lt;/P&gt;

&lt;P&gt;Result:&lt;BR /&gt;
&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;BR /&gt;
No validation                   errors were found&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Expected&lt;/STRONG&gt;: &lt;BR /&gt;
Description: Hired From Date is missing for secondary employment for&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:03:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488545#M193985</guid>
      <dc:creator>shwetamis</dc:creator>
      <dc:date>2020-09-30T03:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488546#M193986</link>
      <description>&lt;P&gt;You still  had &lt;CODE&gt;field=data&lt;/CODE&gt; which was just for my example.  This will fix that:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=du sourcetype="du:sbaservice-log" du_service="sbawf1.3" 
| rex field=_raw mode=sed "s/([\n\r])\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}:\d{2}.\d{3}/\1/g" 
| rex field=_raw max_match=0 "Calling Checklist[^\-]+[^\n]+\n[^\n]+(?&amp;lt;checklist&amp;gt;[^\-]+)" 
| rex field=checklist "Description: (?&amp;lt;Description&amp;gt;[^\e]+)" 
| rex field=_raw "INST_INFO\:\s\d+\|(?.*)\|" 
| rex field=_raw "lenderCaseNo\s[(?\d+)]" 
| eval BTime = strptime(Begin_time, "%H:%M:%S.%3N") 
| eval CTime = strptime(Completion_time, "%H:%M:%S.%3N") 
| eval ResTime=CTime-BTime
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 18:47:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488546#M193986</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2019-11-21T18:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488547#M193987</link>
      <description>&lt;P&gt;getting error: rror in 'rex' command: Encountered the following error while compiling the regex 'Calling Checklist1003[^\n]+\n[^\n]+(?[^-]+)': Regex: unrecognized character after (? or (?-.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 18:50:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488547#M193987</guid>
      <dc:creator>shwetamis</dc:creator>
      <dc:date>2019-11-21T18:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488548#M193988</link>
      <description>&lt;P&gt;I corrected it, still not getting expected result&lt;/P&gt;

&lt;P&gt;index=du sourcetype="du:sbaservice-log" &lt;BR /&gt;
 | rex field=_raw mode=sed "s/([\n\r])\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}:\d{2}.\d{3}/\1/g" &lt;BR /&gt;
 | rex field=_raw max_match=0 "Calling Checklist1003[^\n]+\n[^\n]+(?[^-]+)"&lt;BR /&gt;
 | rex field=checklist "Description: (?[^\e]+)"&lt;BR /&gt;
| rex field=_raw "INST_INFO:\s\d+|(?.*)|"&lt;BR /&gt;
| rex field=_raw "lenderCaseNo\s[(?\d+)]"&lt;BR /&gt;
| eval BTime = strptime(Begin_time, "%H:%M:%S.%3N") &lt;BR /&gt;
| eval CTime = strptime(Completion_time, "%H:%M:%S.%3N") &lt;BR /&gt;
| eval ResTime=CTime-BTime&lt;BR /&gt;
 |table Description lenderInstName lenderCaseNumber Begin_time Completion_time&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:03:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488548#M193988</guid>
      <dc:creator>shwetamis</dc:creator>
      <dc:date>2020-09-30T03:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488549#M193989</link>
      <description>&lt;P&gt;seems like its picking the first description from the log line&lt;/P&gt;

&lt;P&gt;signal alert flag is 0&lt;BR /&gt;
  Validating Underwrite request &lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Message type: SBAWF13Info             Code: 1001 dec, 3e9 hex&lt;BR /&gt;
    Fault type: Application         Severity: Info&lt;BR /&gt;
   Description: No validation                   errors were found             &lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 19:10:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488549#M193989</guid>
      <dc:creator>shwetamis</dc:creator>
      <dc:date>2019-11-21T19:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488550#M193990</link>
      <description>&lt;P&gt;Are you only wanting stuff after Checklist1003?  Running the below run anywhere example returns results I expect:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults count=1 
| eval _raw="11/21/2019 12:52:49.929 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
 11/21/2019 12:52:49.929 Fault type: Application Severity: Info
 11/21/2019 12:52:49.929 Description: Verification Successful 
 11/21/2019 12:52:49.929 
 11/21/2019 12:52:49.929 ----------------------------------------------------------------
 11/21/2019 12:52:49.929 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
 11/21/2019 12:52:49.929 Fault type: Application Severity: Info
 11/21/2019 12:52:49.929 Description: No errors were detected 
 11/21/2019 12:52:49.929 
 11/21/2019 12:52:49.929 Performing a CaseInit
 11/21/2019 12:52:49.929 LOAN_APPLICATION found. Send to store as Original Mismo 1003!
 11/21/2019 12:52:50.604 Validating reply from CaseInit
 11/21/2019 12:52:50.604 ----------------------------------------------------------------
 11/21/2019 12:52:50.604 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
 11/21/2019 12:52:50.604 Fault type: Application Severity: Info
 11/21/2019 12:52:50.604 Description: CaseInit completed successfully 
 11/21/2019 12:52:50.604 
 11/21/2019 12:52:50.604 Inst ID set for EH-020 [12121231]
 11/21/2019 12:52:50.604 Casefile ID [xxxxxxx]
 11/21/2019 12:52:50.604 lenderCaseNo [yyyyyyy]
 11/21/2019 12:52:50.604 OperStatus_in_mp_casefile_set is not defined.
 11/21/2019 12:52:50.604 Calling Credential service to get traits 
 11/21/2019 12:52:50.624 ----------------------------------------------------------------
 11/21/2019 12:52:50.624 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
 11/21/2019 12:52:50.624 Fault type: Application Severity: Info
 11/21/2019 12:52:50.624 Description: InstTraitRequest completed successfully 
 11/21/2019 12:52:50.624 
 11/21/2019 12:52:50.625 Call RESTBridge for conventional loan with GUID [abbababsbasasas], 
 11/21/2019 12:52:50.625 INST_INFO: 12121231|somecompany
 11/21/2019 12:52:50.625 
 11/21/2019 12:52:50.625 Begin RESTBridgeSubsystem::callRESTBridge() ...
 11/21/2019 12:52:50.625 BASE_GUID for VDVS [abbababsbasasas]
 11/21/2019 12:52:50.625 Begin RESTBridgeSubsystem::sendRESTBridgeClientRequest...
 11/21/2019 12:52:50.625 Call RESTBridgeProxy.sendRESTBridgeRequest: 
 11/21/2019 12:52:50.625 Svcname= RESTBridge
 11/21/2019 12:52:50.625 Major= 1
 11/21/2019 12:52:50.625 Minor= 0
 11/21/2019 12:52:50.625 Command= RESTBridge
 11/21/2019 12:52:50.628 End RESTBridgeSubsystem::sendRESTBridgeClientRequest
 11/21/2019 12:52:50.628 End RESTBridgeSubsystem::callRESTBridge()
 11/21/2019 12:52:50.628 SBAWF13Service_Impl:Underwrite:BESTFIT_PRODUCT_SPECIFICATIONS file attachment is not found. This is NOT a multi-product case
 11/21/2019 12:52:50.629 Determine ProdAlt case: 
 11/21/2019 12:52:50.629 ProdAlt Flag [OFF]
 11/21/2019 12:52:50.629 LoanType [01]
 11/21/2019 12:52:50.629 prodAltTrait [0]
 11/21/2019 12:52:50.629 This is NOT a Product alternative case!
 11/21/2019 12:52:50.629 CONVERSION_TARGET: RES,HTML
 11/21/2019 12:52:50.629 User format Request: XML,HTML
 11/21/2019 12:52:50.629 Determining the underwriting service to be used
 11/21/2019 12:52:50.629 Set to use Default engine UWROUTER,1,0 for underwriting
 11/21/2019 12:52:50.629 Underwrite::determineUWService::multiProductCase =0
 11/21/2019 12:52:50.629 This is not a multi-product case.
 11/21/2019 12:52:50.629 ----------------------------------------------------------------
 11/21/2019 12:52:50.629 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
 11/21/2019 12:52:50.629 Fault type: Application Severity: Info
 11/21/2019 12:52:50.629 Description: This is a resubmission of a case that was underwritten using the
 11/21/2019 12:52:50.629 UW_10.30 KB engine 
 11/21/2019 12:52:50.629 
 11/21/2019 12:52:50.629 UWROUTER service will be used for underwriting
 11/21/2019 12:52:50.629 ----------------------------------------------------------------
 11/21/2019 12:52:50.629 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
 11/21/2019 12:52:50.629 Fault type: Application Severity: Info
 11/21/2019 12:52:50.629 Description: This case will be underwritten using UWROUTER 1.0 
 11/21/2019 12:52:50.629 
 11/21/2019 12:52:50.629 Calling Checklist1003
 11/21/2019 12:52:50.670 ----------------------------------------------------------------
 11/21/2019 12:52:50.670 Message type: Code: -1 dec, ffffffff hex
 11/21/2019 12:52:50.670 Fault type: Unknown Severity: Info
 11/21/2019 12:52:50.670 Description: Begin file type 104 checklist. 
 11/21/2019 12:52:50.670 
 11/21/2019 12:52:50.676 ----------------------------------------------------------------
 11/21/2019 12:52:50.676 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
 11/21/2019 12:52:50.676 Fault type: Application Severity: Info
 11/21/2019 12:52:50.676 Description: Checklist1003 completed successfully 
 11/21/2019 12:52:50.676 
 11/21/2019 12:52:50.676 SBAWF13Service_Impl.Underwrite: _creditReptMISMO = '1'
 11/21/2019 12:52:50.676 SBAWF13Service_Impl.Underwrite: _MISMOVersion = '2.1'
 11/21/2019 12:52:50.684 Loan Type: [01]
 11/21/2019 12:52:50.708 ----------------------------------------------------------------
 11/21/2019 12:52:50.708 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
 11/21/2019 12:52:50.708 Fault type: Application Severity: Info
 11/21/2019 12:52:50.708 Description: createCrReportRequest completed successfully 
 11/21/2019 12:52:50.708 
 11/21/2019 12:52:50.708 No Credit Report requests are needed
 11/21/2019 12:52:50.708 Calling ChecklistCred
 11/21/2019 12:52:50.719 SINGLEIN=0
 11/21/2019 12:52:50.732 ----------------------------------------------------------------
 11/21/2019 12:52:50.732 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
 11/21/2019 12:52:50.732 Fault type: Application Severity: Info
 11/21/2019 12:52:50.732 Description: ChecklistCred completed successfully 
 11/21/2019 12:52:50.732 
 11/21/2019 12:52:50.732 Autocopy not requested
 11/21/2019 12:52:50.732 command : UNDERWRITE
 11/21/2019 12:52:50.732 du underwrite : 1
 11/21/2019 12:52:50.732 set BASE_GUID for DUKB service: abbababsbasasas
 11/21/2019 12:52:50.732 Set processUndewrriteVars.conversionTarget = RES,HTML
 11/21/2019 12:52:50.732 Call IDGen for Doc_Type[1], ID_Type[4], ID_Qty[1]
 11/21/2019 12:52:50.749 IDGen returns condition [SUCCESS]
 11/21/2019 12:52:50.749 Successfully retrieved new FindingID: 2085534376
 11/21/2019 12:52:50.749 command : Underwrite
 11/21/2019 12:52:50.749 du underwrite : 1
 11/21/2019 12:52:50.749 Performing DU underwrite ... 
 11/21/2019 12:52:50.749 Calling UWROUTER 1.0 to underwrite the case
 11/21/2019 12:52:50.750 Command[KB_Underwrite] set for Underwrite!
 11/21/2019 12:52:52.901 Validating reply from UWROUTER_1_0
 11/21/2019 12:52:52.901 ----------------------------------------------------------------
 11/21/2019 12:52:52.901 Message type: SBAWF13Info Code: 1001 dec, 3e9 hex
 11/21/2019 12:52:52.901 Fault type: Application Severity: Info
 11/21/2019 12:52:52.901 Description: UWROUTER completed successfully 
 11/21/2019 12:52:52.901 
 " 
| rex field=_raw mode=sed "s/([\n\r\s]+)\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}:\d{2}.\d{3}/\1/g" 
| rex field=_raw max_match=0 "Calling Checklist[^\-]+[^\n]+\n[^\n]+(?&amp;lt;checklist&amp;gt;[^\-]+)" 
| rex field=checklist "Description: (?&amp;lt;Description&amp;gt;[^\e]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 19:21:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488550#M193990</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2019-11-21T19:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488551#M193991</link>
      <description>&lt;P&gt;I only want the description from Calling Checklist1003&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 19:28:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488551#M193991</guid>
      <dc:creator>shwetamis</dc:creator>
      <dc:date>2019-11-21T19:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488552#M193992</link>
      <description>&lt;P&gt;I see what happened.  This should fix it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=du sourcetype="du:sbaservice-log"
| rex field=_raw mode=sed "s/([\n\r\s]+)\d{2}\/\d{2}\/\d{4} \d{2}:\d{2}:\d{2}.\d{3}/\1/g" 
| rex field=_raw max_match=0 "Calling Checklist1003[^\-]+[^\n]+\n[^\n]+(?&amp;lt;checklist&amp;gt;[^\-]+)" 
| rex field=checklist "Description: (?&amp;lt;Description&amp;gt;[^\e]+)"
| rex field=_raw "INST_INFO\:\s\d+\|(?.*)\|"
| rex field=_raw "lenderCaseNo\s[(?\d+)]"
| eval BTime = strptime(Begin_time, "%H:%M:%S.%3N")
| eval CTime = strptime(Completion_time, "%H:%M:%S.%3N")
| eval ResTime=CTime-BTime
|table Description lenderInstName lenderCaseNumber Begin_time Completion_time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Nov 2019 19:44:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488552#M193992</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2019-11-21T19:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488553#M193993</link>
      <description>&lt;P&gt;that worked thank you :), so what was the issue ?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 20:08:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488553#M193993</guid>
      <dc:creator>shwetamis</dc:creator>
      <dc:date>2019-11-21T20:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk querying nested log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488554#M193994</link>
      <description>&lt;P&gt;The iteration you were using of the "checklist" extract was pulling data from the first line after "Calling Checklist1003" until "-", but in one of the examples there was another line between which broke that logic.  I adjusted it to go to the first line AFTER the line of "-" to start the "checklist" field and that fixed it.  Sorry about that.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 20:11:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-querying-nested-log/m-p/488554#M193994</guid>
      <dc:creator>dmarling</dc:creator>
      <dc:date>2019-11-21T20:11:12Z</dc:date>
    </item>
  </channel>
</rss>

