<?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 field extraction with Regular expression giving inconsistent results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/field-extraction-with-Regular-expression-giving-inconsistent/m-p/548438#M155562</link>
    <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;I&amp;nbsp; created a field extraction from UI,using regular expression method,where regular expression got created automatically,but when is use that extracted field in my search,most values for that field are null where in they are available in raw data&lt;/P&gt;&lt;P&gt;here`s my raw data and i need to extract the value of&amp;nbsp;&lt;SPAN&gt;medicareId(which is combination of letters and numbers).please advise,any help appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Message Started processing in Async: MtmCaseActivity(clinicalProgramName=sample, identificationDate=sample, caseID=sample, branding=sample, cycleYear=2021, status=Closed, closingDate=sample, workedBy=sample, reworkReason=, fulfillmentId=, identifiers=MtmCaseIdentifierDto(externalMemberId=null, carrierId=sample, accountId=sample, groupId=sample, memberId=sample, medicareId=&lt;FONT color="#008000"&gt;sample&lt;/FONT&gt;, contractId=sample, &lt;FONT color="#993366"&gt;pbp=sample),&lt;/FONT&gt; memberDemographics=MtmMemberDemographicsDto(memberFirstName=sample, memberLastName=sample, memberDOB=sample, memberAddress1=sample, memberAddress2=, memberCity=sample, memberState=sample, memberZip=sample, patientGender=F), eligibility=MtmEligibilityDto(effectiveDate=sample, termDate=sample), consultationDetails=null)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Apr 2021 14:20:23 GMT</pubDate>
    <dc:creator>ayadav38</dc:creator>
    <dc:date>2021-04-19T14:20:23Z</dc:date>
    <item>
      <title>field extraction with Regular expression giving inconsistent results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/field-extraction-with-Regular-expression-giving-inconsistent/m-p/548438#M155562</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;I&amp;nbsp; created a field extraction from UI,using regular expression method,where regular expression got created automatically,but when is use that extracted field in my search,most values for that field are null where in they are available in raw data&lt;/P&gt;&lt;P&gt;here`s my raw data and i need to extract the value of&amp;nbsp;&lt;SPAN&gt;medicareId(which is combination of letters and numbers).please advise,any help appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Message Started processing in Async: MtmCaseActivity(clinicalProgramName=sample, identificationDate=sample, caseID=sample, branding=sample, cycleYear=2021, status=Closed, closingDate=sample, workedBy=sample, reworkReason=, fulfillmentId=, identifiers=MtmCaseIdentifierDto(externalMemberId=null, carrierId=sample, accountId=sample, groupId=sample, memberId=sample, medicareId=&lt;FONT color="#008000"&gt;sample&lt;/FONT&gt;, contractId=sample, &lt;FONT color="#993366"&gt;pbp=sample),&lt;/FONT&gt; memberDemographics=MtmMemberDemographicsDto(memberFirstName=sample, memberLastName=sample, memberDOB=sample, memberAddress1=sample, memberAddress2=, memberCity=sample, memberState=sample, memberZip=sample, patientGender=F), eligibility=MtmEligibilityDto(effectiveDate=sample, termDate=sample), consultationDetails=null)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 14:20:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/field-extraction-with-Regular-expression-giving-inconsistent/m-p/548438#M155562</guid>
      <dc:creator>ayadav38</dc:creator>
      <dc:date>2021-04-19T14:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: field extraction with Regular expression giving inconsistent results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/field-extraction-with-Regular-expression-giving-inconsistent/m-p/548442#M155564</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233602"&gt;@ayadav38&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I usually manually modify the regexes extracted with the Field Extractor!&lt;/P&gt;&lt;P&gt;so, please, try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "medicareId\=(?&amp;lt;medicareId&amp;gt;[^,]+)"&lt;/LI-CODE&gt;&lt;P&gt;That you can test at &lt;A href="https://regex101.com/r/9Xt6Tx/1" target="_blank"&gt;https://regex101.com/r/9Xt6Tx/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 14:24:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/field-extraction-with-Regular-expression-giving-inconsistent/m-p/548442#M155564</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-04-19T14:24:03Z</dc:date>
    </item>
  </channel>
</rss>

