<?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 Regex for pattern match in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197312#M57000</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I need a regex expression to match the below patern in my abc.log&lt;/P&gt;

&lt;P&gt;Pattern details:&lt;/P&gt;

&lt;P&gt;&lt;STRINGFIELD&gt;, 2014-03-20 13:43:55.608, 2014-03-20 13:43:55.612, &lt;STRINGFIELD&gt;&lt;/STRINGFIELD&gt;&lt;/STRINGFIELD&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRINGFIELD&gt; -- Contains sring values.&lt;/STRINGFIELD&gt;&lt;/P&gt;

&lt;P&gt;Please suggest the regex for this..??&lt;/P&gt;

&lt;P&gt;Thanks in advance..!! &lt;/P&gt;</description>
    <pubDate>Fri, 21 Mar 2014 08:11:39 GMT</pubDate>
    <dc:creator>RashmiGowda</dc:creator>
    <dc:date>2014-03-21T08:11:39Z</dc:date>
    <item>
      <title>Regex for pattern match</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197312#M57000</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I need a regex expression to match the below patern in my abc.log&lt;/P&gt;

&lt;P&gt;Pattern details:&lt;/P&gt;

&lt;P&gt;&lt;STRINGFIELD&gt;, 2014-03-20 13:43:55.608, 2014-03-20 13:43:55.612, &lt;STRINGFIELD&gt;&lt;/STRINGFIELD&gt;&lt;/STRINGFIELD&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRINGFIELD&gt; -- Contains sring values.&lt;/STRINGFIELD&gt;&lt;/P&gt;

&lt;P&gt;Please suggest the regex for this..??&lt;/P&gt;

&lt;P&gt;Thanks in advance..!! &lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:11:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197312#M57000</guid>
      <dc:creator>RashmiGowda</dc:creator>
      <dc:date>2014-03-21T08:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for pattern match</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197313#M57001</link>
      <description>&lt;P&gt;Hi RashmiGowda,&lt;/P&gt;

&lt;P&gt;based on this one line example try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "&amp;gt;,\s(?&amp;lt;stringfield&amp;gt;.+),\s&amp;lt;" | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:15:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197313#M57001</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-03-21T08:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for pattern match</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197314#M57002</link>
      <description>&lt;P&gt;Its not working.. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 09:46:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197314#M57002</guid>
      <dc:creator>RashmiGowda</dc:creator>
      <dc:date>2014-03-21T09:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for pattern match</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197315#M57003</link>
      <description>&lt;P&gt;RashmiGowda,&lt;/P&gt;

&lt;P&gt;You might have to provide a little more information; in which context are you trying to use the regex (search, field extraction, what config files etc), and also; how is it not working.&lt;/P&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2014 10:40:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197315#M57003</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2014-03-21T10:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for pattern match</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197316#M57004</link>
      <description>&lt;P&gt;I downvoted this post because question is unclear&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:05:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197316#M57004</guid>
      <dc:creator>tsmets</dc:creator>
      <dc:date>2016-04-07T13:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for pattern match</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197317#M57005</link>
      <description>&lt;P&gt;You can work on it like this - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search 
| eval basavalue="2014-03-20 13:43:55.608"
| rex field=basavalue "(?&amp;lt;a_1&amp;gt;\d\d\d\d)-(?&amp;lt;a_2&amp;gt;\d\d)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Apr 2016 14:44:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-for-pattern-match/m-p/197317#M57005</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-04-07T14:44:52Z</dc:date>
    </item>
  </channel>
</rss>

