<?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: REX Field Extraction Help in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/REX-Field-Extraction-Help/m-p/655334#M111037</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;can you change your regex like&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"\s+Fixed version\s+:\s+(?&amp;lt;FixedVersion&amp;gt;[^\n\r\&amp;lt;]+)"&lt;/LI-CODE&gt;&lt;P&gt;See &lt;A href="https://regex101.com/r/z4DfqM/1" target="_blank"&gt;https://regex101.com/r/z4DfqM/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;regex101 is excellent place to try those and also debug if needed.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2023 13:50:41 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2023-08-23T13:50:41Z</dc:date>
    <item>
      <title>REX Field Extraction Help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REX-Field-Extraction-Help/m-p/655330#M111035</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I'm working on a Rex Expression for my job, and wanted to ask for some assistance in developing it. I'm supposed to make a rex expression to pull out the "Fixed version" of a piece of software out of a field called "pluginText". Right now the problem is the Rex expression I've made only works half the time.&lt;BR /&gt;&lt;BR /&gt;My Rex expression is currently:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;| rex field=pluginText max_match=0 "\s+Fixed version\s+:\s+(?&amp;lt;FixedVersion&amp;gt;.+)"\n&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Here are some relevant examples of the sorts of data I'm working with:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;plugin_output&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Path&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : C:\Program Files\VMware\VMware Tools\VMware VGAuth\libssl-3-x64.dll&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Reported version : 3.0.3.0&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Fixed version : 3.0.4&amp;lt;/plugin_output&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;&amp;lt;plugin_output&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Path : C:\myPrograms\cygwin64\bin\openssl.exe &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Reported version : 1.1.1.4 &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;Fixed version : 1.1.1p &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; Path : C:\myPrograms\Git\usr\bin\openssl.exe &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; Reported version : 1.1.1.9 &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; Fixed version : 1.1.1p &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; Path : C:\myPrograms\Git\mingw64\bin\openssl.exe &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; Reported version : 1.1.1.9 &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; Fixed version : 1.1.1p &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;/plugin_output&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;The Rex expression I made works perfectly on the second example I've provided, but not the first. I'm guessing it's due to the &amp;lt;/plugin_output&amp;gt; on it.&lt;BR /&gt;&lt;BR /&gt;Any advice for how I can tweak it to work for both sorts of data? Attached is a visual aid of the first example, for clarity. Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 13:45:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REX-Field-Extraction-Help/m-p/655330#M111035</guid>
      <dc:creator>TorbinIT</dc:creator>
      <dc:date>2023-08-23T13:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: REX Field Extraction Help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REX-Field-Extraction-Help/m-p/655332#M111036</link>
      <description>&lt;P&gt;Here's a visual aid of the second example, as well!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 13:45:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REX-Field-Extraction-Help/m-p/655332#M111036</guid>
      <dc:creator>TorbinIT</dc:creator>
      <dc:date>2023-08-23T13:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: REX Field Extraction Help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REX-Field-Extraction-Help/m-p/655334#M111037</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;can you change your regex like&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;"\s+Fixed version\s+:\s+(?&amp;lt;FixedVersion&amp;gt;[^\n\r\&amp;lt;]+)"&lt;/LI-CODE&gt;&lt;P&gt;See &lt;A href="https://regex101.com/r/z4DfqM/1" target="_blank"&gt;https://regex101.com/r/z4DfqM/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;regex101 is excellent place to try those and also debug if needed.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 13:50:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REX-Field-Extraction-Help/m-p/655334#M111037</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-08-23T13:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: REX Field Extraction Help</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REX-Field-Extraction-Help/m-p/655336#M111039</link>
      <description>&lt;P&gt;This appears to have fixed my problem perfectly! Thank you very much!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 13:54:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REX-Field-Extraction-Help/m-p/655336#M111039</guid>
      <dc:creator>TorbinIT</dc:creator>
      <dc:date>2023-08-23T13:54:54Z</dc:date>
    </item>
  </channel>
</rss>

