<?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: more regex help :/ in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/more-regex-help/m-p/540297#M152842</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/34998"&gt;@tkerr1357&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please try this;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "User:\sRIGHTNETWORKS\\(?&amp;lt;username&amp;gt;[^\s]+)"&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 17 Feb 2021 18:38:02 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2021-02-17T18:38:02Z</dc:date>
    <item>
      <title>more regex help :/</title>
      <link>https://community.splunk.com/t5/Splunk-Search/more-regex-help/m-p/540284#M152836</link>
      <description>&lt;P&gt;Hey All,&lt;/P&gt;&lt;P&gt;I am trying to pull the username from the following event which is everything after the Rightnetworks\ in the event. Also to complicate things It could be a name or a set of numbers or a name with numbers in it. Any help is apperciated.&lt;/P&gt;&lt;P&gt;here are some example events:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;&lt;SPAN class="t h"&gt;02/17&lt;/SPAN&gt;/2021&lt;/SPAN&gt; &lt;SPAN class="t"&gt;11:45:19&lt;/SPAN&gt; &lt;SPAN class="t"&gt;AM&lt;/SPAN&gt; &lt;SPAN class="t"&gt;LogName=Microsoft-Windows-TerminalServices-LocalSessionManager/Operational&lt;/SPAN&gt; &lt;SPAN class="t"&gt;SourceName=Microsoft-Windows-TerminalServices-LocalSessionManager&lt;/SPAN&gt; &lt;SPAN class="t"&gt;EventCode=25&lt;/SPAN&gt; &lt;SPAN class="t"&gt;EventType=4&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Type=Information&lt;/SPAN&gt; &lt;SPAN class="t"&gt;ComputerName=BPSQCP03S11.rightnetworks.com&lt;/SPAN&gt; &lt;SPAN class="t"&gt;User=NOT_TRANSLATED&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Sid=S-1-5-18&lt;/SPAN&gt; &lt;SPAN class="t"&gt;SidType=0&lt;/SPAN&gt; &lt;SPAN class="t"&gt;TaskCategory=None&lt;/SPAN&gt; &lt;SPAN class="t"&gt;OpCode=Info&lt;/SPAN&gt; &lt;SPAN class="t"&gt;RecordNumber=1079076&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Keywords=None&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Message=Remote&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Desktop&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Services:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Session&lt;/SPAN&gt; &lt;SPAN class="t"&gt;reconnection&lt;/SPAN&gt; &lt;SPAN class="t"&gt;succeeded:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;User:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;RIGHTNETWORKS\465714&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Session&lt;/SPAN&gt; &lt;SPAN class="t"&gt;ID:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;350&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Source&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Network&lt;/SPAN&gt; &lt;SPAN class="t"&gt;Address:&lt;/SPAN&gt; &lt;SPAN class="t"&gt;184.97.224.236&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="t"&gt;&lt;SPAN class="t h"&gt;02/17&lt;/SPAN&gt;/2021 11:45:18 AM LogName=Microsoft-Windows-TerminalServices-LocalSessionManager/Operational SourceName=Microsoft-Windows-TerminalServices-LocalSessionManager EventCode=25 EventType=4 Type=Information ComputerName=RNVSASP217.rightnetworks.com User=NOT_TRANSLATED Sid=S-1-5-18 SidType=0 TaskCategory=None OpCode=Info RecordNumber=1064633 Keywords=None Message=Remote Desktop Services: Session reconnection succeeded: User: RIGHTNETWORKS\veronicagutierrez Session ID: 342 Source Network Address: 216.67.212.82&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 17:33:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/more-regex-help/m-p/540284#M152836</guid>
      <dc:creator>tkerr1357</dc:creator>
      <dc:date>2021-02-17T17:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: more regex help :/</title>
      <link>https://community.splunk.com/t5/Splunk-Search/more-regex-help/m-p/540297#M152842</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/34998"&gt;@tkerr1357&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please try this;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "User:\sRIGHTNETWORKS\\(?&amp;lt;username&amp;gt;[^\s]+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Feb 2021 18:38:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/more-regex-help/m-p/540297#M152842</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-02-17T18:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: more regex help :/</title>
      <link>https://community.splunk.com/t5/Splunk-Search/more-regex-help/m-p/540330#M152856</link>
      <description>&lt;P&gt;no such luck with this one.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 00:39:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/more-regex-help/m-p/540330#M152856</guid>
      <dc:creator>tkerr1357</dc:creator>
      <dc:date>2021-02-18T00:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: more regex help :/</title>
      <link>https://community.splunk.com/t5/Splunk-Search/more-regex-help/m-p/540338#M152862</link>
      <description>&lt;P&gt;What is the problem? It is working for your sample events. Please see on Regex101.&lt;/P&gt;&lt;P&gt;&lt;A href="https://regex101.com/r/xlvrf1/1" target="_blank"&gt;https://regex101.com/r/xlvrf1/1&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 04:44:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/more-regex-help/m-p/540338#M152862</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-02-18T04:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: more regex help :/</title>
      <link>https://community.splunk.com/t5/Splunk-Search/more-regex-help/m-p/540380#M152880</link>
      <description>&lt;P&gt;looks like it was an issue with my search. I was able to add the regex provided as a field extraction and that provided what I was looking for.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 12:49:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/more-regex-help/m-p/540380#M152880</guid>
      <dc:creator>tkerr1357</dc:creator>
      <dc:date>2021-02-18T12:49:01Z</dc:date>
    </item>
  </channel>
</rss>

