use readfile() to read it
use filterArray() to filter out 'ANONYMOUS LOGON'
use filterArray() to filter out 'system'


$seclog=readfile('c:\out.txt')
$seclog=filterarray($seclog,'User Name:',1) ;include all lines with 'User Name:'
$seclog=filterarray($seclog,'ANONYMOUS LOGON') ;exclude all lines with 'ANONYMOUS LOGON'
$seclog=filterarray($seclog,'System') ;exclude all lines with 'System'

for each $line in $seclog
? $line
? trim(split($line,'User Name:')[1])
next
_________________________
How to ask questions the smart way <-----------> Before you ask