<?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: How to get a field extraction match up till the first time a string is found? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-field-extraction-match-up-till-the-first-time-a/m-p/440857#M125287</link>
    <description>&lt;P&gt;I'm sorry. I had clicked the accept and given the karma points. It's completely working now.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2019 18:53:45 GMT</pubDate>
    <dc:creator>jeck11</dc:creator>
    <dc:date>2019-03-14T18:53:45Z</dc:date>
    <item>
      <title>How to get a field extraction match up till the first time a string is found?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-field-extraction-match-up-till-the-first-time-a/m-p/440853#M125283</link>
      <description>&lt;P&gt;This is the regex I've come up with so far. Unfortunately, it's either matching too much or not enough. I want it to match everything after "Details: " until the first time "java." is found. Basically, I'm looking for everything in the orange boxes in the example image below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;^Details\:\s(?&amp;lt;Error_Details&amp;gt;.*)\sjava\.\w+\.\w+(\s|\:)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6686i5F71E2804F2794ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 16:42:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-field-extraction-match-up-till-the-first-time-a/m-p/440853#M125283</guid>
      <dc:creator>jeck11</dc:creator>
      <dc:date>2019-03-14T16:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a field extraction match up till the first time a string is found?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-field-extraction-match-up-till-the-first-time-a/m-p/440854#M125284</link>
      <description>&lt;P&gt;It would have been helpful to post the sample strings as text rather than as an image so we could test them in regex101.com.&lt;/P&gt;

&lt;P&gt;Have you tried &lt;CODE&gt;Details\:\s(?&amp;lt;Error_Details&amp;gt;[\s\S]*?)\sjava\.&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 16:56:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-field-extraction-match-up-till-the-first-time-a/m-p/440854#M125284</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-03-14T16:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a field extraction match up till the first time a string is found?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-field-extraction-match-up-till-the-first-time-a/m-p/440855#M125285</link>
      <description>&lt;P&gt;I kind of see what you did there. The problem wasn't so much after the match as it was inside the match. &lt;/P&gt;

&lt;P&gt;Details:\s(?[\s\S]*?)\sjava.\w+.\w+&lt;/P&gt;

&lt;P&gt;Thank you very much for your assistance.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 17:51:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-field-extraction-match-up-till-the-first-time-a/m-p/440855#M125285</guid>
      <dc:creator>jeck11</dc:creator>
      <dc:date>2019-03-14T17:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a field extraction match up till the first time a string is found?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-field-extraction-match-up-till-the-first-time-a/m-p/440856#M125286</link>
      <description>&lt;P&gt;Is it working now?  If so, please accept the answer to help future readers.  If not, please say where the answer is lacking.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 18:50:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-field-extraction-match-up-till-the-first-time-a/m-p/440856#M125286</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-03-14T18:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a field extraction match up till the first time a string is found?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-field-extraction-match-up-till-the-first-time-a/m-p/440857#M125287</link>
      <description>&lt;P&gt;I'm sorry. I had clicked the accept and given the karma points. It's completely working now.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 18:53:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-a-field-extraction-match-up-till-the-first-time-a/m-p/440857#M125287</guid>
      <dc:creator>jeck11</dc:creator>
      <dc:date>2019-03-14T18:53:45Z</dc:date>
    </item>
  </channel>
</rss>

