Skip to content

Instantly share code, notes, and snippets.

@tamtam180
Created December 18, 2012 07:23
Show Gist options
  • Save tamtam180/4325800 to your computer and use it in GitHub Desktop.
Save tamtam180/4325800 to your computer and use it in GitHub Desktop.
<match game.**>
type copy
<store>
type stdout
</store>
<store>
type forest
subtype file_alternative
remove_prefix game
<template>
time_slice_format %Y%m%d%H%M
time_slice_wait 30s
output_include_time false
output_include_tag false
output_data_type attr:message
path /root/test_data_backup/%Y/%m/%d/${tag}/%H/%M-${hostname}.log
</template>
</store>
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment