The syslog archive feature supported by Syslog Watcher can integrate with cloud storage to duplicate collected logs in a more secure remote location. Following the steps below, you can easily collect syslog messages to an Amazon AWS S3 bucket in just a few minutes. We are using Amazon AWS cloud as an example, and this method can be applied to any other cloud storage service.
A configured and running Syslog Watcher server that collects syslog messages.
An Amazon AWS S3 bucket for syslog messages and an AWS IAM user keys to access that bucket. AWS configuration instructions are beyond the scope of this guide. We will be happy to assist you through technical support.
You also need to specify the path to the local directory where the archive files will be created. More details in Syslog Watcher User’s Guid.
AWS CLI allows you to perform actions with Amazon cloud services from the command line. If the utility is not already installed, download the installer, run it, and follow the default steps: https://awscli.amazonaws.com/AWSCLIV2.msi
Run the command aws configure
in the command line (cmd.exe) to set up your cloud service access keys.
Run aws s3 sync . YOUR_BUCKET
in the storage archive folder to upload storage archive files to the cloud (S3 bucket).
Use the built-in Windows Task Scheduler to run the s3 sync
command daily. The following screenshots illustrate the process of creating a daily task.
By default, the synchronization process does not remove files from cloud storage. This allows you to save local disk space by limiting the syslog archive, for instance, to 30 days while keeping a much larger archive in cloud storage.