<?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 Regex help in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565076#M196851</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; Thanks for your quick response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rex which you provided it doesn't work for other data which has MD5. one thing I notice in logs before md5 that starts with&amp;nbsp;&lt;SPAN&gt;"","" and end with&amp;nbsp;"","". Using that can you provide rex.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"",""&lt;/SPAN&gt;&lt;SPAN class="t"&gt;md5&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN class="t"&gt;b147fbdbd44374f73a763531c8d1093d&lt;/SPAN&gt;&lt;SPAN&gt;"",""&lt;/SPAN&gt;&lt;SPAN class="t"&gt;sha1&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:null&lt;/SPAN&gt;&lt;SPAN&gt;,""&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Aug 2021 16:31:34 GMT</pubDate>
    <dc:creator>SabariRajanT</dc:creator>
    <dc:date>2021-08-27T16:31:34Z</dc:date>
    <item>
      <title>Need Regex help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565073#M196849</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I will be getting a list of MD5 hash values in my logs. Need a regex expression for the below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Therefore whenever am getting md5 hash values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"md5":"b78269ef4034474766cb1351e94edf5c",&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 16:06:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565073#M196849</guid>
      <dc:creator>SabariRajanT</dc:creator>
      <dc:date>2021-08-27T16:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Need Regex help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565074#M196850</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224126"&gt;@SabariRajanT&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "\"md5\":\"(?&amp;lt;md5&amp;gt;[^\"]+)"&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/DPpHQi/1" target="_blank"&gt;https://regex101.com/r/DPpHQi/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 16:15:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565074#M196850</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-08-27T16:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need Regex help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565076#M196851</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; Thanks for your quick response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rex which you provided it doesn't work for other data which has MD5. one thing I notice in logs before md5 that starts with&amp;nbsp;&lt;SPAN&gt;"","" and end with&amp;nbsp;"","". Using that can you provide rex.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"",""&lt;/SPAN&gt;&lt;SPAN class="t"&gt;md5&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN class="t"&gt;b147fbdbd44374f73a763531c8d1093d&lt;/SPAN&gt;&lt;SPAN&gt;"",""&lt;/SPAN&gt;&lt;SPAN class="t"&gt;sha1&lt;/SPAN&gt;&lt;SPAN&gt;""&lt;/SPAN&gt;&lt;SPAN class="t"&gt;:null&lt;/SPAN&gt;&lt;SPAN&gt;,""&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 16:31:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565076#M196851</guid>
      <dc:creator>SabariRajanT</dc:creator>
      <dc:date>2021-08-27T16:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need Regex help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565077#M196852</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224126"&gt;@SabariRajanT&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;ok, please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "\"\"md5\"\":\"\"(?&amp;lt;md5&amp;gt;[^\"]+)"&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/DPpHQi/2" target="_blank"&gt;https://regex101.com/r/DPpHQi/2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 16:34:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565077#M196852</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-08-27T16:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need Regex help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565084#M196856</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;The rex which is provided earlier, doesn't working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 16:53:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565084#M196856</guid>
      <dc:creator>SabariRajanT</dc:creator>
      <dc:date>2021-08-27T16:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need Regex help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565086#M196857</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224126"&gt;@SabariRajanT&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please, share some additional samples, because, as you can see, using the sample you provided it's running.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 16:56:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565086#M196857</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-08-27T16:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need Regex help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565089#M196858</link>
      <description>&lt;P&gt;Can I have your email Id please &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;to send the full logs. Since the file size is huge.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 17:08:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565089#M196858</guid>
      <dc:creator>SabariRajanT</dc:creator>
      <dc:date>2021-08-27T17:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need Regex help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565139#M196882</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/224126"&gt;@SabariRajanT&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as you can see at&amp;nbsp;&amp;nbsp;&lt;A href="https://regex101.com/r/DPpHQi/3" target="_blank"&gt;https://regex101.com/r/DPpHQi/3&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the first regex perfectly matches the sample you shared&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "\"md5\":\"(?&amp;lt;md5&amp;gt;[^\"]+)"&lt;/LI-CODE&gt;&lt;P&gt;What's the behaviour of your regex? why do you see that it doesn't run?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 28 Aug 2021 09:26:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-Regex-help/m-p/565139#M196882</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-08-28T09:26:52Z</dc:date>
    </item>
  </channel>
</rss>

