<?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: Need help on rex in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-rex/m-p/281163#M190539</link>
    <description>&lt;P&gt;If these are single line events:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\'ConnID\'\s+\'(?&amp;lt;ConnID&amp;gt;[^\']+)'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\'VirtualQueue\'\s+\'(?&amp;lt;VirtualQueue&amp;gt;[^\']+)'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Multiline events are a bit different. You need to make sure that the events are process properly as multiline, then you can do something like..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  (?m) \'ConnID\'\s+\'(?&amp;lt;ConnID&amp;gt;[^\']+)'\n\'VirtualQueue\'\s+\'(?&amp;lt;VirtualQueue&amp;gt;[^']+)'
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 15 Feb 2016 03:47:20 GMT</pubDate>
    <dc:creator>esix_splunk</dc:creator>
    <dc:date>2016-02-15T03:47:20Z</dc:date>
    <item>
      <title>Need help on rex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-rex/m-p/281160#M190536</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;Need help to extract fields for the following. Please help rex for the below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    'ConnID'    '007202761fdb2c01'
    'VirtualQueue'  'ABC_EFG_BJFNKJFN'
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Feb 2016 02:35:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-rex/m-p/281160#M190536</guid>
      <dc:creator>rishiaggarwal</dc:creator>
      <dc:date>2016-02-15T02:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on rex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-rex/m-p/281161#M190537</link>
      <description>&lt;P&gt;@rishiaggarwal , Is that the full event ? Also please clarify what you want to extract&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 02:45:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-rex/m-p/281161#M190537</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-02-15T02:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on rex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-rex/m-p/281162#M190538</link>
      <description>&lt;P&gt;Is that the full event? Which part are you trying to extract? What are the names of the fields here?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 03:05:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-rex/m-p/281162#M190538</guid>
      <dc:creator>Amohlmann</dc:creator>
      <dc:date>2016-02-15T03:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on rex</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-help-on-rex/m-p/281163#M190539</link>
      <description>&lt;P&gt;If these are single line events:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\'ConnID\'\s+\'(?&amp;lt;ConnID&amp;gt;[^\']+)'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\'VirtualQueue\'\s+\'(?&amp;lt;VirtualQueue&amp;gt;[^\']+)'
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Multiline events are a bit different. You need to make sure that the events are process properly as multiline, then you can do something like..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  (?m) \'ConnID\'\s+\'(?&amp;lt;ConnID&amp;gt;[^\']+)'\n\'VirtualQueue\'\s+\'(?&amp;lt;VirtualQueue&amp;gt;[^']+)'
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Feb 2016 03:47:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-help-on-rex/m-p/281163#M190539</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2016-02-15T03:47:20Z</dc:date>
    </item>
  </channel>
</rss>

