<?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: Field extraction from a Windows log in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572988#M199713</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163033"&gt;@vhharanpositka&lt;/a&gt;&amp;nbsp;. It works using index searching, but when searching inside the datamodel. This is what I am trying to figure out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vagnet&lt;/P&gt;</description>
    <pubDate>Fri, 29 Oct 2021 15:21:26 GMT</pubDate>
    <dc:creator>vagnet</dc:creator>
    <dc:date>2021-10-29T15:21:26Z</dc:date>
    <item>
      <title>Field extraction from a Windows log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572954#M199693</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have prepared a regex extraction using regex101 site, and now trying to extract "Failure Reason" as per below log but for some reason fails.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where is the catch? Should be pretty simple but I am out of ideas now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Search:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| from datamodel:"Authentication"."Insecure_Authentication" 
| search "*Failure*"
| rex  "Failure\sReason:\t\t(?&amp;lt;Failure_Reason&amp;gt;.*)\n"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ComputerName=ot.mydomain.com
TaskCategory=Logon
OpCode=Info
RecordNumber=41462650
Keywords=Audit Failure
Message=An account failed to log on.

Subject:
	Security ID:		NT AUTHORITY\SYSTEM
	Account Name:		usergeorge$
	Account Domain:		dm
	Logon ID:		0x3E7

Logon Type:			8

Account For Which Logon Failed:
	Security ID:		NULL SID
	Account Name:		george1$
	Account Domain:		mydomain.com

Failure Information:
	Failure Reason:		Unknown user name or bad password.
	Status:			0xC000006D
	Sub Status:		0xC000006A

Process Information:
	Caller Process ID:	0x2t20&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;vagnet&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 13:16:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572954#M199693</guid>
      <dc:creator>vagnet</dc:creator>
      <dc:date>2021-10-29T13:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction from a Windows log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572958#M199696</link>
      <description>&lt;P&gt;Hi Vagnet&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try this &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230178"&gt;@vagnet&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;| from datamodel:"Authentication"."Insecure_Authentication"&lt;BR /&gt;| search "*Failure*"&lt;BR /&gt;| rex field=_raw&amp;nbsp; "Failure\sReason:\t\t(?&amp;lt;Failure_Reason&amp;gt;.*)\n"&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 13:31:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572958#M199696</guid>
      <dc:creator>vhharanpositka</dc:creator>
      <dc:date>2021-10-29T13:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction from a Windows log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572970#M199701</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163033"&gt;@vhharanpositka&lt;/a&gt;&amp;nbsp;. Same results though&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 14:00:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572970#M199701</guid>
      <dc:creator>vagnet</dc:creator>
      <dc:date>2021-10-29T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction from a Windows log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572984#M199710</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230178"&gt;@vagnet&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is working for me.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhharanpositka_0-1635520409205.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16672i63011FA9314E14EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vhharanpositka_0-1635520409205.png" alt="vhharanpositka_0-1635520409205.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 15:14:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572984#M199710</guid>
      <dc:creator>vhharanpositka</dc:creator>
      <dc:date>2021-10-29T15:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction from a Windows log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572988#M199713</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/163033"&gt;@vhharanpositka&lt;/a&gt;&amp;nbsp;. It works using index searching, but when searching inside the datamodel. This is what I am trying to figure out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vagnet&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 15:21:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572988#M199713</guid>
      <dc:creator>vagnet</dc:creator>
      <dc:date>2021-10-29T15:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Field extraction from a Windows log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572993#M199715</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution is to adjust the quotes on the data model. One easily missed I guess.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| from datamodel:"Authentication.Insecure_Authentication"
| rex field=_raw  "Failure\sReason:\t\t(?&amp;lt;Failure_Reason&amp;gt;.*)\s"&lt;/LI-CODE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vagnet&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 15:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-from-a-Windows-log/m-p/572993#M199715</guid>
      <dc:creator>vagnet</dc:creator>
      <dc:date>2021-10-29T15:58:58Z</dc:date>
    </item>
  </channel>
</rss>

