Skip to content

Instantly share code, notes, and snippets.

View arunk-s's full-sized avatar

Arun Sori arunk-s

View GitHub Profile
@arunk-s
arunk-s / nginx.toml
Created July 9, 2014 16:13
Hekad configuration file for anamoly detection from nginx logs
[hekad]
maxprocs = 4
# Nginx access log reader
[Nginxserver]
type = "LogstreamerInput"
log_directory = "/var/log/nginx"
file_match = 'access\.log'
decoder = "CombinedNginxDecoder"
@arunk-s
arunk-s / backup.sh
Created April 13, 2014 06:36
Shell Script for taking Incremental Backup and store it at a remote place
# backup.sh
# The contents of this file are released under the GNU General Public License. Feel free to reuse the contents of this work, as long as the resultant works give proper attribution and are made publicly available under the GNU General Public License.
# By Arun Sori <arunsori94@gmail.com>
#For taking backup of the desired directory and store it at a remote place
#timestamp
time_stamp=`date`
#backup file name