<?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: Help in RegEx to get a separate values in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Help-in-RegEx-to-get-a-separate-values/m-p/460563#M99472</link>
    <description>&lt;P&gt;Sorry that didnt worked, its not giving a result.&lt;/P&gt;

&lt;P&gt;Raw Data:&lt;/P&gt;

&lt;P&gt;eventlogmsg=""&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;
     bigipServiceDown trap received&lt;BR /&gt;
     bigipNotifyObjMsg=Pool /Common/leopard.exxonmobil.com-443-pl member /Common/vdi-pnh.ap.xom.com:443 monitor status down. [ /Common/https-vdi-connection_manager-pnh: down; last error: /Common/https-vdi-connection_manager-pnh:  Response Code: 404 (Not Found) @2020/02/03 07:06:46.  ]  &lt;A href="https://community.splunk.com/slot2" target="_blank"&gt; was up for 0hr:49mins:15sec &lt;/A&gt;&lt;BR /&gt;
     bigipNotifyObjNode=/Common/vdi-pnh.ap.xom.com&lt;BR /&gt;
     bigipNotifyObjPort=443&lt;/P&gt;""&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 04:01:20 GMT</pubDate>
    <dc:creator>jerinvarghese</dc:creator>
    <dc:date>2020-09-30T04:01:20Z</dc:date>
    <item>
      <title>Help in RegEx to get a separate values</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-in-RegEx-to-get-a-separate-values/m-p/460561#M99470</link>
      <description>&lt;P&gt;Need help in formatting a regex comand output.&lt;/P&gt;

&lt;P&gt;Program that I created: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=opennms  "bigipServiceDown"
  | rex field=eventlogmsg "bigipNotifyObjMsg=(?&amp;lt;POOL&amp;gt;.+down. )"
  | table POOL, nodelabel
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Output : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;POOL    nodelabel
Pool /Common/tiger.exxonmobil.com-443-pl member /Common/10.159.217.11:443 monitor status down. [ /Common/https-vdi-connection_manager: down;    INMCOIGW-APNADC003
Pool /Common/tiger.exxonmobil.com-443-pl member /Common/10.159.217.11:443 monitor status down. [ /Common/https-vdi-connection_manager: down;    INMCOIGW-APNADC003
Pool /Common/tiger.exxonmobil.com-443-pl member /Common/10.159.217.11:443 monitor status down. [ /Common/https-vdi-connection_manager: down;    INMCOIGW-APNADC003
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Expected output : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;POOL    Monitor VDI nodelabel
tiger.exxonmobil.com-443-pl member  10.159.217.11:443 monitor status down   Common/https-vdi-connection_manager: down   INMCOIGW-APNADC003
leopard.exxonmobil.com-443-pl member    Common/vdi-pnh.ap.xom.com:443 monitor status down   Common/https-vdi-connection_manager-pnh: down   INMCO-APNADC104
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;RAW Data : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;eventlogmsg=""&amp;lt;p&amp;gt;
    bigipServiceDown trap received
    bigipNotifyObjMsg=Pool /Common/leopard.exxonmobil.com-443-pl member /Common/vdi-pnh.ap.xom.com:443 monitor status down. [ /Common/https-vdi-connection_manager-pnh: down; last error: /Common/https-vdi-connection_manager-pnh:  Response Code: 404 (Not Found) @2020/02/03 07:06:46.  ]  [ was up for 0hr:49mins:15sec ] (slot2)
    bigipNotifyObjNode=/Common/vdi-pnh.ap.xom.com
    bigipNotifyObjPort=443&amp;lt;/p&amp;gt;""
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Feb 2020 14:05:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-in-RegEx-to-get-a-separate-values/m-p/460561#M99470</guid>
      <dc:creator>jerinvarghese</dc:creator>
      <dc:date>2020-02-03T14:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help in RegEx to get a separate values</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-in-RegEx-to-get-a-separate-values/m-p/460562#M99471</link>
      <description>&lt;P&gt;You can use the following regex to extract the 3 fields POOL, Monitor and VDI. You can try this regex in regex101 to check what exactly is happening:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"bigipNotifyObjMsg=Pool\s+.*?(?&amp;lt;POOL&amp;gt;[^\/]+)(?=\s+)\s+.*?(?&amp;lt;Monitor&amp;gt;[^\/]+)(?=\.\s+\[)\.\s+\[\s+(?&amp;lt;VDI&amp;gt;[^;]+);"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Feb 2020 14:26:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-in-RegEx-to-get-a-separate-values/m-p/460562#M99471</guid>
      <dc:creator>jbrocks</dc:creator>
      <dc:date>2020-02-03T14:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help in RegEx to get a separate values</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-in-RegEx-to-get-a-separate-values/m-p/460563#M99472</link>
      <description>&lt;P&gt;Sorry that didnt worked, its not giving a result.&lt;/P&gt;

&lt;P&gt;Raw Data:&lt;/P&gt;

&lt;P&gt;eventlogmsg=""&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;
     bigipServiceDown trap received&lt;BR /&gt;
     bigipNotifyObjMsg=Pool /Common/leopard.exxonmobil.com-443-pl member /Common/vdi-pnh.ap.xom.com:443 monitor status down. [ /Common/https-vdi-connection_manager-pnh: down; last error: /Common/https-vdi-connection_manager-pnh:  Response Code: 404 (Not Found) @2020/02/03 07:06:46.  ]  &lt;A href="https://community.splunk.com/slot2" target="_blank"&gt; was up for 0hr:49mins:15sec &lt;/A&gt;&lt;BR /&gt;
     bigipNotifyObjNode=/Common/vdi-pnh.ap.xom.com&lt;BR /&gt;
     bigipNotifyObjPort=443&lt;/P&gt;""&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:01:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-in-RegEx-to-get-a-separate-values/m-p/460563#M99472</guid>
      <dc:creator>jerinvarghese</dc:creator>
      <dc:date>2020-09-30T04:01:20Z</dc:date>
    </item>
  </channel>
</rss>

