|
| I first discovered your programs almost two years ago, and I am truly pleased. |
|
Loading...
The licensed version of Kiwi Syslog Daemon will allow you to zip the log files, and run an external program after a scheduled archive has completed. The following article describes the steps required to have Kiwi Syslog Daemon send your log files via e-mail using a free command line utility called 'Blat'. It assumes that you will be installing Blat into the "C:\blat" directory, and that you are sending the log files to an e-mail address of netadmin@yourcompany.com. You will need to change the details to refer to your own e-mail address and SMTP server location. Download Blat 1. Once downloaded you will need to install Blat using the commands: blat -install <server addr> <sender addr> For example: blat -install localhost kiwi@yourcompany.com. 2. For a full list of commands type "blat -h" from the Blat installation directory. 3. Create a new text file in the Blat installation directory called "kiwisyslog.txt". 4. Open the newly created file, and enter the text that you would like displayed as the body of your e-mail message. For example: "Log files sent from Kiwi Syslog Daemon". 5. Open the Kiwi Syslog Daemon properties window by selecting File | Setup from the main menu. 6. Select Schedules then set up a new Archive schedule for the log files that you would like to have e-mailed - Hourly or Daily schedule.
- Source folder: C:\Program files\Syslogd\Logs
- Destination folder: C:\Program files\Syslogd\Blat\Logs
- Choose the "Use dated file names" option
- Set Date format to: YYYY-MM-DD-HH-NN-SS (This will ensure that all moved files are unique)
- Check the "Run program after all files are moved/copied" option
- File to run: "C:\blat\blat.exe"
- Command line: C:\blat\kiwisyslog.txt -to netadmin@yourcompany.com -attach "%FileZipLong"
- Check the "Zip files after moving/copying" option
- Check the "All files into single zip" option
Quotes will be required around the %FileZipLong portion of the command line.
If you do not want to have the archive file zipped prior to being sent via blat you will need to ensure that you uncheck the "Zip files after moving/copying" option and change the command line to: "C:\blat\kiwisyslog.txt" -to netadmin@yourcompany.com -attach "%FileLong" 
|
0 votes so far for this article. Did this article help you?
YES
NO
|