This commit is contained in:
Jordan Sissel 2010-10-17 10:36:59 +00:00
parent c6a9bce4fc
commit cf06e05019
3 changed files with 5 additions and 80 deletions

5
USAGE Normal file
View file

@ -0,0 +1,5 @@
Usage:
bin/logstash client # Will watch /var/log/messages and push to amqp
bin/logstash server # Watch amqp messages; parse and send to another topic
examples/test.rb # Watch parsed messages on amqp, reacts to specific ones

View file

@ -1,35 +0,0 @@
---
watch:
- /var/log/messages
- /var/log/*.log
- /b/logs/*
logstash_dir: /c/logstash
pattern_dir: /c/logstash/patterns
elasticsearch_host: snack.home:9200
log-types:
linux-syslog:
type: text
date:
key: date
format: %b %e %H:%M:%S
patterns:
- %{SYSLOGPAMSESSION}
- %{SYSLOGLINE}
httpd-access:
type: text
date:
key: timestamp
format: %d/%b/%Y:%H:%M:%S %Z
patterns:
- %{COMBINEDAPACHELOG}
haproxy:
type: text
date:
key: date
format: %b %e %H:%M:%S
patterns:
- %{HAPROXYHTTP}

View file

@ -1,45 +0,0 @@
---
logstash_dir: /c/logstash
pattern_dir: /c/logstash/patterns
elasticsearch_host: localhost;9200
log-types:
linux-syslog:
type: text
date:
key: date
format: %b %e %H:%M:%S
patterns:
- %{SYSLOGPAMSESSION}
- %{SYSLOGLINE}
httpd-access:
type: text
date:
key: timestamp
format: %d/%b/%Y:%H:%M:%S %Z
patterns:
- %{COMBINEDAPACHELOG}
glu:
type: json
date:
key: timestamp
format: %Y-%m-%dT%H:%M:%S
display_format: "<%= entry['timestamp'] %> | <%= entry['level'] %> | <%= entry['context/sessionKey'] %> | <%= entry['sourceHostName'] %> | <%= entry['context/componentName'] %> | <%= entry['message'] %>"
netscreen:
type: text
date:
key: date
format: %b %e %H:%M:%S
patterns:
- %{NETSCREENSESSIONLOG}
haproxy:
type: text
date:
key: date
format: %b %e %H:%M:%S
patterns:
- %{HAPROXYHTTP}