<?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: Regex in splunk in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191166#M55020</link>
    <description>&lt;P&gt;The regex is valid, check it out here:  &lt;A href="http://regex101.com/r/lY6pS8"&gt;http://regex101.com/r/lY6pS8&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Is this data already indexed in Splunk?  If so, what is the sourcetype, can you also display the props.conf or transforms.conf for this data?&lt;/P&gt;

&lt;P&gt;It this data coming in as a single Splunk event?&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jun 2014 11:23:46 GMT</pubDate>
    <dc:creator>dmaislin_splunk</dc:creator>
    <dc:date>2014-06-06T11:23:46Z</dc:date>
    <item>
      <title>Regex in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191163#M55017</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I have data like below,&lt;/P&gt;

&lt;H2&gt;Contact_Number---------------Name&lt;/H2&gt;

&lt;P&gt;land="1234" Phone="324"------Kumar&lt;BR /&gt;
land="3254" phone="458"------Ramu&lt;/P&gt;

&lt;P&gt;Now what i want is Phone number of each and every person like below,&lt;/P&gt;

&lt;H2&gt;Contact_Number---------------Name&lt;/H2&gt;

&lt;P&gt;Phone="324"----------------Kumar&lt;BR /&gt;
phone="458"-----------------Ramu&lt;/P&gt;

&lt;P&gt;please help me.&lt;BR /&gt;
Note:In the data there are only two fields one is "contact number" and another one is "Name",&lt;BR /&gt;
In the Contact Number there are two fields now i want to extract one field for one Name.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2014 10:59:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191163#M55017</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2014-06-06T10:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191164#M55018</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; * | rex field=_raw "[Pp]hone="(?&amp;lt;Contact_Number&amp;gt;.+?)"-+(?&amp;lt;Name&amp;gt;.+)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Where your regex is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Pp]hone="(?&amp;lt;Contact_Number&amp;gt;.+?)"-+(?&amp;lt;Name&amp;gt;.+)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Jun 2014 11:05:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191164#M55018</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2014-06-06T11:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191165#M55019</link>
      <description>&lt;P&gt;Thanks for your quick response but its not working..&lt;BR /&gt;
please do help..&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2014 11:20:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191165#M55019</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2014-06-06T11:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191166#M55020</link>
      <description>&lt;P&gt;The regex is valid, check it out here:  &lt;A href="http://regex101.com/r/lY6pS8"&gt;http://regex101.com/r/lY6pS8&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Is this data already indexed in Splunk?  If so, what is the sourcetype, can you also display the props.conf or transforms.conf for this data?&lt;/P&gt;

&lt;P&gt;It this data coming in as a single Splunk event?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2014 11:23:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191166#M55020</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2014-06-06T11:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191167#M55021</link>
      <description>&lt;P&gt;firewall,"date=10-20-2000 time=01:29:22 name=Donated device_id=123456 log_id=654321 type=""phisical"" subtype=block pri=notice &lt;BR /&gt;
This is one field in my logs. I need to extract type=""phisical"" as a field. pls help using REX&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:48:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191167#M55021</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-28T16:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191168#M55022</link>
      <description>&lt;P&gt;Just confirming that:  type=""physical""  has two double quotes surrounding it?  Is this a copied event from Splunk or is it something you manually typed into this answers?  The quotes don't make sense since there is a " before date like "date but no end quote.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2014 11:31:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191168#M55022</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2014-06-06T11:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191169#M55023</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;* | rex field=_raw "\stype=\"\"(?&amp;lt;type&amp;gt;.+?)\"\""
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Jun 2014 11:35:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191169#M55023</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2014-06-06T11:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191170#M55024</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I also have same doubt..&lt;BR /&gt;
Thanks man, it worked for me. But, I need only &lt;STRONG&gt;&lt;EM&gt;physical&lt;/EM&gt;&lt;/STRONG&gt; as a field. Is it possible through REX. And please suggest me some good website or something to learn entirely about rex command.&lt;BR /&gt;
Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2014 06:00:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/191170#M55024</guid>
      <dc:creator>sanju1323</dc:creator>
      <dc:date>2014-06-12T06:00:01Z</dc:date>
    </item>
  </channel>
</rss>

