1" Vim syntax file 2" Language: Innovation Data Processing USW2KAgt.log file 3" Maintainer: Rob Owens <[email protected]> 4" Latest Revision: 2014-04-01 5 6" Quit when a syntax file was already loaded 7if exists("b:current_syntax") 8 finish 9endif 10 11" Date: 12syn match usw2kagtlog_Date /\u\l\l \u\l\l\s\{1,2}\d\{1,2} \d\d:\d\d:\d\d \d\d\d\d/ 13" Msg Types: 14syn match usw2kagtlog_MsgD /Msg #\(Agt\|PC\|Srv\)\d\{4,5}D/ nextgroup=usw2kagtlog_Process skipwhite 15syn match usw2kagtlog_MsgE /Msg #\(Agt\|PC\|Srv\)\d\{4,5}E/ nextgroup=usw2kagtlog_Process skipwhite 16syn match usw2kagtlog_MsgI /Msg #\(Agt\|PC\|Srv\)\d\{4,5}I/ nextgroup=usw2kagtlog_Process skipwhite 17syn match usw2kagtlog_MsgW /Msg #\(Agt\|PC\|Srv\)\d\{4,5}W/ nextgroup=usw2kagtlog_Process skipwhite 18" Processes: 19syn region usw2kagtlog_Process start="(" end=")" contained 20"syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client request" 21"syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client request" 22"syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client\s\{0,1}\r\{0,1}\s\{1,9}request" 23"syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client\s\{0,1}\r\{0,1}\s\{1,9}request" 24syn region usw2kagtlog_Process start="Starting the processing for a \zs\"" end="\ze client" 25syn region usw2kagtlog_Process start="Ending the processing for a \zs\"" end="\ze client" 26" IP Address: 27syn match usw2kagtlog_IPaddr / \d\{1,3}\.\d\{1,3}\.\d\{1,3}\.\d\{1,3}/ 28" Profile: 29 30syn match usw2kagtlog_Profile /Profile name \zs\"\S\{1,8}\"/ 31syn match usw2kagtlog_Profile / Profile: \zs\S\{1,8}/ 32syn match usw2kagtlog_Profile / Profile: \zs\S\{1,8}\ze, / 33syn match upstreamlog_Profile /Backup Profile: \zs\S\{1,8}\ze Version date/ 34syn match upstreamlog_Profile /Backup profile: \zs\S\{1,8}\ze Version date/ 35syn match usw2kagtlog_Profile /Full of \zs\S\{1,8}\ze$/ 36syn match usw2kagtlog_Profile /Incr. of \zs\S\{1,8}\ze$/ 37syn match usw2kagtlog_Profile /profile name "\zs\S\{1,8}\ze"/ 38" Target: 39syn region usw2kagtlog_Target start="Computer: \zs" end="\ze[\]\)]" 40syn region usw2kagtlog_Target start="Computer name \zs\"" end="\"\ze" 41" Agent Keywords: 42syn keyword usw2kagtlog_Agentword opened closed 43 44hi def link usw2kagtlog_Date Underlined 45hi def link usw2kagtlog_MsgD Type 46hi def link usw2kagtlog_MsgE Error 47hi def link usw2kagtlog_MsgW Constant 48hi def link usw2kagtlog_Process Statement 49hi def link usw2kagtlog_IPaddr Identifier 50hi def link usw2kagtlog_Profile Identifier 51hi def link usw2kagtlog_Target Identifier 52hi def link usw2kagtlog_Agentword Special 53 54let b:current_syntax = "usw2kagentlog" 55