mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
This commit is contained in:
parent
c6a9bce4fc
commit
cf06e05019
3 changed files with 5 additions and 80 deletions
5
USAGE
Normal file
5
USAGE
Normal 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
|
|
@ -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}
|
|
@ -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}
|
Loading…
Add table
Add a link
Reference in a new issue