Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1.  
  2. $Template log_remote_path,"/var/log/remote/%fromhost:R,ERE,1,FIELD:^([^.]+)\.--end%.log"
  3. $Template log_routeros_tpl,"%TIMESTAMP% %fromhost:R,ERE,1,FIELD:^([^.]+)\.--end% %rawmsg%\n"
  4.  
  5. if $fromhost-ip == '81.187.55.65' then ?log_remote_path;log_routeros_tpl
  6. if $fromhost-ip == '81.187.55.65' then ~
  7.  
  8. if $fromhost-ip != '127.0.0.1' then ?log_remote_path
  9. if $fromhost-ip != '127.0.0.1' then ~a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement