Skip to content

Instantly share code, notes, and snippets.

@bretthoerner
Created July 27, 2011 19:25
Show Gist options
  • Save bretthoerner/1110164 to your computer and use it in GitHub Desktop.
Save bretthoerner/1110164 to your computer and use it in GitHub Desktop.
Scribe configuration
port=1464
<store>
category=default
type=buffer
max_write_interval=1 # process messages at least once per second
<primary>
type=network
remote_host=localhost
remote_port=1463
</primary>
# if primary is unreachable scribe will spool here, then unspool when primary returns
<secondary>
type=file
fs_type=std
file_path=/var/log/scribe/tmp
</secondary>
</store>
port=1463
<store>
category=default
type=file
fs_type=std
file_path=/var/log/scribe/default
max_write_interval=1 # process messages at least once per second
write_meta=yes # append the next file's path at the EOF
add_newlines=1
rotate_period=1h
rotate_minute=0 # rotate at the start of the hour
</store>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment