SHARE
TWEET

Untitled

a guest Jun 24th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /path/to/folder {
  2.    daily
  3.    rotate 30
  4.    notifempty
  5.    sharedscripts
  6.    copytruncate
  7.    compress
  8.    dateext
  9.  
  10.  
  11.    preremove
  12.      if file --mime-type "$1" | grep -q gzip$; then
  13.           mkdir -p /path/to/archive/folder && cp $1 $_
  14.      fi
  15.    endscript
  16. }
  17.      
  18. logstash -d $CONFIG_FILE
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top