<?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: Rex Command Not Working in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Rex-Command-Not-Working/m-p/671041#M229975</link>
    <description>&lt;LI-CODE lang="markup"&gt;| rex field=Body "(?ms).*Access Mask.*\sAccesses:\s(?&amp;lt;Accesses2&amp;gt;.+?)Access\sCheck Results\:.*"&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 06 Dec 2023 17:08:22 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-12-06T17:08:22Z</dc:date>
    <item>
      <title>Rex Command Not Working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Command-Not-Working/m-p/671021#M229971</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The rex command to catch and group the Accesses multi values are not working even though the results in regex101 are fine. Could you guys tell me what I am missing?&lt;/P&gt;&lt;P&gt;Test Log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;12/12/2012 04:25:13 PM
LogName=Security
EventCode=5145
EventType=0
ComputerName=test.corp
SourceName=Microsoft Windows security auditing.
Type=Information
RecordNumber=2049592111
Keywords=Audit Success
TaskCategory=Detailed File Share
OpCode=Info
Message=A network share object was checked to see whether client can be granted desired access.
	
Subject:
	Security ID:		User\Test
	Account Name:		Test
	Account Domain:		Test
	Logon ID:		0x117974CE

Network Information:	
	Object Type:		File
	Source Address:		::1
	Source Port:		51234
	
Share Information:
	Share Name:		\\*\C$
	Share Path:		\??\C:\
	Relative Target Name:	Users\Test\Desktop

Access Request Information:
	Access Mask:		0x100081
	Accesses:		SYNCHRONIZE
				ReadData (or ListDirectory)
				ReadAttributes
				
Access Check Results:
	-&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Splunk Rex Query:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
| rex field=Body ".*Access Mask.*\sAccesses:\s(?&amp;lt;Accesses2&amp;gt;.+?)Access\sCheck Results\:.*"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 15:02:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Command-Not-Working/m-p/671021#M229971</guid>
      <dc:creator>NightShark</dc:creator>
      <dc:date>2023-12-06T15:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Command Not Working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Command-Not-Working/m-p/671041#M229975</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex field=Body "(?ms).*Access Mask.*\sAccesses:\s(?&amp;lt;Accesses2&amp;gt;.+?)Access\sCheck Results\:.*"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 06 Dec 2023 17:08:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Command-Not-Working/m-p/671041#M229975</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-12-06T17:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Rex Command Not Working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Rex-Command-Not-Working/m-p/671055#M229978</link>
      <description>&lt;P&gt;Thank you very much, working perfect as intended&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 17:40:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Rex-Command-Not-Working/m-p/671055#M229978</guid>
      <dc:creator>NightShark</dc:creator>
      <dc:date>2023-12-06T17:40:13Z</dc:date>
    </item>
  </channel>
</rss>

