Skip to content

Commit

Permalink
- Update to work with latest code
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Oct 28, 2010
1 parent 2053cea commit 2ac9f69
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions etc/logstash-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,20 @@ inputs:
apache-error:
- /var/log/apache2/error.log
filters:
grok:
- grok:
linux-syslog: # for logs tagged 'linux-syslog'
timestamp:
key: date
format: %b %e %H:%M:%S
patterns:
- %{SYSLOGLINE}
apache-access: # for logs tagged 'apache-error'
timestamp:
key: timestamp
format: %d/%b/%Y:%H:%M:%S %Z
patterns:
- %{COMBINEDAPACHELOG}
- date:
linux-syslog: # for logs tagged 'linux-syslog'
# Look for a field 'timestamp' with this format, parse and it for the timestamp
# This field comes from the SYSLOGLINE pattern
timestamp: %b %e %H:%M:%S
apache-access:
timestamp: "%d/%b/%Y:%H:%M:%S %Z"
outputs:
# For this demo, we'll write to websockets...
- stdout:///
Expand Down

0 comments on commit 2ac9f69

Please sign in to comment.