Skip to content

Instantly share code, notes, and snippets.

@clay584
Created April 15, 2014 18:11
Show Gist options
  • Save clay584/10754518 to your computer and use it in GitHub Desktop.
Save clay584/10754518 to your computer and use it in GitHub Desktop.
logstash multiline
file {
path => ["/home/local/JTAX/curtisc/tax-returns/*"]
start_position => "beginning"
type => "tax_return"
tags => [ "tax_return" ]
codec => multiline {
pattern => "^<\?xml .*\?>"
negate => true
what => "previous"
}
sincedb_path => "/var/log/logstash/.sincedb_tax_returns303"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment