Skip to content

Commit

Permalink
Fixed formatting of EventLog docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jamtur01 committed Dec 20, 2012
1 parent a169739 commit 4fe0a95
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
13 changes: 7 additions & 6 deletions lib/logstash/inputs/eventlog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
# Pull events from a Windows Event Log
#
# To collect Events from the System Event Log, use a config like:
# input {
# eventlog {
# type => 'Win32-EventLog'
# name => 'System'
# }
# }
#
# input {
# eventlog {
# type => 'Win32-EventLog'
# name => 'System'
# }
# }
class LogStash::Inputs::EventLog < LogStash::Inputs::Base

config_name "eventlog"
Expand Down
8 changes: 4 additions & 4 deletions lib/logstash/inputs/heroku.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
#
# Recommended filters:
#
# filter {
# grok {
# pattern => "^%{TIMESTAMP_ISO8601:timestamp} %{WORD:component}\[%{WORD:process}(?:\.%{INT:instance:int})?\]: %{DATA:message}$"
# }
# filter {
# grok {
# pattern => "^%{TIMESTAMP_ISO8601:timestamp} %{WORD:component}\[%{WORD:process}(?:\.%{INT:instance:int})?\]: %{DATA:message}$"
# }
# date { timestamp => ISO8601 }
# }
class LogStash::Inputs::Heroku < LogStash::Inputs::Base
Expand Down

0 comments on commit 4fe0a95

Please sign in to comment.