<?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 help .. I am still learning .... in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/REGEX-help-I-am-still-learning/m-p/516943#M145318</link>
    <description>&lt;P&gt;To all:&lt;/P&gt;&lt;P&gt;Still learning about REGEX ...&amp;nbsp; I looked at RUBULAR.COM and REFEX101.com to figure out how to pull out the Users ids...&amp;nbsp; &amp;nbsp;In the example below need to get 4 User Ids out ...&amp;nbsp; &amp;nbsp;I matched on single quote ' - however not able to get&amp;nbsp; the 4 ids in one swoop ... any suggestions?&amp;nbsp; Its just not that easy...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Watched a couple of Youtubes on regex ... just not that all intuitive when condition are a little bit more tricky. appreciate any help I can get.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Multiple 'access denied' events detected with protocol smb (at least 41 failed attempts in 15 seconds). Last usernames used in login requests are: 'NA\HXXX6LBDBMCXT2$', 'NA\RKXXXEDE', 'UPSTREAM\dXXXcline', 'ULAB\l3xxxxcli'. Last path trying to access FA Labs\XXXM\Lumisizer\08-xx-2020_1201 A-D, 1201 A2-D2 - Copy\1201 C.xlsx&lt;/P&gt;</description>
    <pubDate>Sun, 30 Aug 2020 22:20:01 GMT</pubDate>
    <dc:creator>Stephen11</dc:creator>
    <dc:date>2020-08-30T22:20:01Z</dc:date>
    <item>
      <title>REGEX help .. I am still learning ....</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-help-I-am-still-learning/m-p/516943#M145318</link>
      <description>&lt;P&gt;To all:&lt;/P&gt;&lt;P&gt;Still learning about REGEX ...&amp;nbsp; I looked at RUBULAR.COM and REFEX101.com to figure out how to pull out the Users ids...&amp;nbsp; &amp;nbsp;In the example below need to get 4 User Ids out ...&amp;nbsp; &amp;nbsp;I matched on single quote ' - however not able to get&amp;nbsp; the 4 ids in one swoop ... any suggestions?&amp;nbsp; Its just not that easy...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Watched a couple of Youtubes on regex ... just not that all intuitive when condition are a little bit more tricky. appreciate any help I can get.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Multiple 'access denied' events detected with protocol smb (at least 41 failed attempts in 15 seconds). Last usernames used in login requests are: 'NA\HXXX6LBDBMCXT2$', 'NA\RKXXXEDE', 'UPSTREAM\dXXXcline', 'ULAB\l3xxxxcli'. Last path trying to access FA Labs\XXXM\Lumisizer\08-xx-2020_1201 A-D, 1201 A2-D2 - Copy\1201 C.xlsx&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2020 22:20:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-help-I-am-still-learning/m-p/516943#M145318</guid>
      <dc:creator>Stephen11</dc:creator>
      <dc:date>2020-08-30T22:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX help .. I am still learning ....</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-help-I-am-still-learning/m-p/516950#M145320</link>
      <description>&lt;P&gt;Can you share sample event?&lt;/P&gt;&lt;P&gt;the example you shared is not clear.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 05:02:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-help-I-am-still-learning/m-p/516950#M145320</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-08-31T05:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX help .. I am still learning ....</title>
      <link>https://community.splunk.com/t5/Splunk-Search/REGEX-help-I-am-still-learning/m-p/516954#M145324</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;With your example this seems to work.&lt;/P&gt;&lt;LI-CODE lang="java"&gt;index=_internal
| head 1
| eval _raw = "Multiple 'access denied' events detected with protocol smb (at least 41 failed attempts in 15 seconds). Last usernames used in login requests are: 'NA\HXXX6LBDBMCXT2$', 'NA\RKXXXEDE', 'UPSTREAM\dXXXcline', 'ULAB\l3xxxxcli'. Last path trying to access FA Labs\XXXM\Lumisizer\08-xx-2020_1201 A-D, 1201 A2-D2 - Copy\1201 C.xlsx"
| rename COMMENT AS "previous set example data, next do the regex"
| rex max_match=0  "Last usernames used in login requests are:\s(?&amp;lt;NamesAll&amp;gt;[^\.]+)"
| rex max_match=0 field=NamesAll "([',\s\.])+(?&amp;lt;Names&amp;gt;[^']+)"&lt;/LI-CODE&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 06:43:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/REGEX-help-I-am-still-learning/m-p/516954#M145324</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-08-31T06:43:44Z</dc:date>
    </item>
  </channel>
</rss>

