<?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 extraction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/rex-extraction/m-p/198958#M57591</link>
    <description>&lt;P&gt;I would suggest;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "\]\s(?&amp;lt;user&amp;gt;a\d{6})"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jan 2014 15:57:56 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2014-01-09T15:57:56Z</dc:date>
    <item>
      <title>rex extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-extraction/m-p/198957#M57590</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm trying to extract a field via rex for a search and having problems. Hoping someone could help me...&lt;/P&gt;

&lt;P&gt;Here's some sample data - I want to get the "user" field, which is the "a" plus the 6 digits. I had &lt;CODE&gt;rex "(?i)/.*?/(?P&amp;lt;FIELDNAME&amp;gt;[a-f0-9]+)(?=@)"&lt;/CODE&gt;, but that didn't work.  &lt;/P&gt;

&lt;P&gt;2014-01-09T10:35:27.671644-05:00 hosta Juniper: 2014-01-09 10:35:27 - ive - [1.2.3.4] a123456(Mobile Web Cert)[Mobile] - Network Connect: Session started for user with IP 67.68.1.2, hostname a123456s-iPad&lt;/P&gt;

&lt;P&gt;2014-01-09T10:34:40.618589-05:00 hosta Juniper: 2014-01-09 10:34:40 - ive - [7.8.9.0] a987654 JOE SCHMOE(Web Cert)[Full Access] - Network Connect: Session started for user with IP 1.2.3.4, hostname BLAH&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 15:51:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-extraction/m-p/198957#M57590</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-01-09T15:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: rex extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-extraction/m-p/198958#M57591</link>
      <description>&lt;P&gt;I would suggest;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "\]\s(?&amp;lt;user&amp;gt;a\d{6})"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2014 15:57:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-extraction/m-p/198958#M57591</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-01-09T15:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: rex extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-extraction/m-p/198959#M57592</link>
      <description>&lt;P&gt;Try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;search |rex ".*(?P&amp;lt;userID&amp;gt;[a]\d{6})"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Jan 2014 16:06:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-extraction/m-p/198959#M57592</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2014-01-09T16:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: rex extraction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/rex-extraction/m-p/198960#M57593</link>
      <description>&lt;P&gt;please check it .it is efficent respect to all possibilties.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 06:16:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/rex-extraction/m-p/198960#M57593</guid>
      <dc:creator>arihant16cse</dc:creator>
      <dc:date>2019-02-07T06:16:27Z</dc:date>
    </item>
  </channel>
</rss>

