Skip to content

Instantly share code, notes, and snippets.

@faxm0dem
Created December 16, 2015 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faxm0dem/83b14bcaaee63f52ab94 to your computer and use it in GitHub Desktop.
Save faxm0dem/83b14bcaaee63f52ab94 to your computer and use it in GitHub Desktop.
syslog-ng create-dirs
@version: 3.5.6
log {
source {
file(
"/dev/stdin",
flags(no-parse),
);
};
destination {
file(
"/tmp/syslog-ng-createdir/${UNIXTIME}/log",
create-dirs(yes),
);
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment