Skip to content

Instantly share code, notes, and snippets.

@gswallow
Created January 10, 2014 20:43
Show Gist options
  • Save gswallow/8362186 to your computer and use it in GitHub Desktop.
Save gswallow/8362186 to your computer and use it in GitHub Desktop.
input {
stdin {
type => "rails"
codec => multiline {
pattern => "(^I, \[%{TIMESTAMP_ISO8601} #%{NONNEGINT}\]\s+%{LOGLEVEL}\s--\s:\s{1,2}(Started|Completed|Processing|Parameters)|E, \[%{{TIMESTAMP_ISO8601} #%{NONNEGINT}\]\s+%{LOGLEVEL}\s--|^\s{2,}/)"
what => "previous"
}
}
}
output {
stdout { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment