Sha256: 52d00b50949b747d7a8dbd9f36d34454475cf9e30a1b2bcf46b17ea22eb5db09

Contents?: true

Size: 1.33 KB

Versions: 14

Compression:

Stored size: 1.33 KB

Contents

--- 
# this is a sample logstash config (code is still highly in change, so
# this could change later)
#
#
inputs:
# Give a list of inputs. Tag them for easy query/filter later.
  linux-syslog: # this is the 'linux-syslog' type
  - /var/log/messages # watch /var/log/messages (uses eventmachine-tail)
  - /var/log/kern.log
  - /var/log/auth.log
  - /var/log/user.log
  apache-access: # similar, different type.
  - /var/log/apache2/access.log
  - /b/access
  apache-error:
  - /var/log/apache2/error.log
filters:
- grok:
    linux-syslog: # for logs of type 'linux-syslog'
      patterns:
      - %{SYSLOGLINE}
    apache-access: # for logs of type 'apache-error'
      patterns:
      - %{COMBINEDAPACHELOG}
- grokdiscovery:
    linux-syslog:
    - message
    - DATA
    - GREEDYDATA
- date:
    linux-syslog:  # for logs of type '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"
      timestamp8601: ISO8601
    apache-access:
      timestamp: "%d/%b/%Y:%H:%M:%S %Z"
outputs:
- stdout:///
- elasticsearch://localhost:9200/logs/all
# But we could write to mongodb, too.
#  - mongodb://localhost/parsedlogs
# And also write to an AMQP topic
#  - amqp://localhost/topic/parsedlogs
# Write to stdout ... etc.
# - stdout:///

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
logstash-lite-0.2.20101207114354 etc/logstash-standalone.yaml
logstash-lite-0.2.20101201111523 etc/logstash-standalone.yaml
logstash-lite-0.2.20101129210156 etc/logstash-standalone.yaml
logstash-lite-0.2.20101129205551 etc/logstash-standalone.yaml
logstash-lite-0.2.20101129155412 etc/logstash-standalone.yaml
logstash-lite-0.2.20101124030048 etc/logstash-standalone.yaml
logstash-lite-0.2.20101124004656 etc/logstash-standalone.yaml
logstash-lite-0.2.20101123134625 etc/logstash-standalone.yaml
logstash-lite-0.2.20101123133737 etc/logstash-standalone.yaml
logstash-lite-0.2.20101120024757 etc/logstash-standalone.yaml
logstash-lite-0.2.20101120021802 etc/logstash-standalone.yaml
logstash-lite-0.2.20101119183130 etc/logstash-standalone.yaml
logstash-lite-0.2.20101118141920 etc/logstash-standalone.yaml
logstash-lite-0.2.20101118134500 etc/logstash-standalone.yaml