Skip to content

 React Three Fiber
 Threejs and TypeScript
 SocketIO and TypeScript
 Blender Topological Earth
 Sweet Home 3D
 Design Patterns Python
 Design Patterns TypeScript
 Course Coupon Codes
Three.js and TypeScript
Kindle Edition
$6.99 $9.99 Paperback 
$22.99 $29.99

Design Patterns in TypeScript
Kindle Edition
$6.99 $9.99 Paperback
$11.99 $19.99

Design Patterns in Python
Kindle Edition
$6.99 $9.99 Paperback
$11.99 $19.99

Item Preprocessing with Regex

Video Lecture

Item Preprocessing with Regex Item Preprocessing with Regex


In this lecture, I add a pre-processing step to the item that instructs the agent to read the windows failed logon events.

The regular expressions demonstrated in this video are,

Regex Output Description
(.*) \0 Returns only the first line of the complete failed logon event text.
Account Name:\t\t(.*) \1 Returns the 1st occurrence of the Account Name in the log text, that created the event.
Account Name:(.|\n)*\tAccount Name:\t\t(.*) \2 Returns the 2nd occurrence of the Account name in the log that created the event.

Item value preprocessing

Regex 101