Community discussions

MikroTik App
 
piotrkolodziejski
just joined
Topic Author
Posts: 1
Joined: Tue Jul 15, 2014 1:33 pm

Sending webproxy log file with visited sites to email

Tue Jul 15, 2014 1:52 pm

I would like to send log files from my WebProxy where the visited pages are included. Daily these files is about 5. The path to the log file is usb1/log.txt, and more are usb1/log1.txt, usb/log2.txt and so on. What I need to do in addition to these log files to be sent, for example, every day at 3 am, at the same time after the email is sent ,the log files should be deleted, can you write such a script for me please? :)
 
User avatar
sumanbarman
just joined
Posts: 18
Joined: Tue Jul 08, 2014 4:26 pm
Location: Chittagong,Bangladesh

Re: Sending webproxy log file with visited sites to email

Tue Jul 15, 2014 7:08 pm

i hope here is your solution.
it will be help you to do this.

http://forum.mikrotik.com/viewtopic.php?f=7&t=22207
 
rishitank
just joined
Posts: 3
Joined: Wed Nov 26, 2014 3:27 pm

Re: Sending webproxy log file with visited sites to email

Wed Nov 26, 2014 3:46 pm

I would like to send log files from my WebProxy where the visited pages are included. Daily these files is about 5. The path to the log file is usb1/log.txt, and more are usb1/log1.txt, usb/log2.txt and so on. What I need to do in addition to these log files to be sent, for example, every day at 3 am, at the same time after the email is sent ,the log files should be deleted, can you write such a script for me please? :)


how did u set up the router to generate and store webproxy logs on a usb disk?