Skip to content

Instantly share code, notes, and snippets.

@OleMchls
Created May 8, 2015 10:08
Show Gist options
  • Save OleMchls/381eef44b23563e88abe to your computer and use it in GitHub Desktop.
Save OleMchls/381eef44b23563e88abe to your computer and use it in GitHub Desktop.
logstash heroku
input {
heroku {
app => "your-app-0001"
}
}
filter {
grok {
pattern => "^%{TIMESTAMP_ISO8601:timestamp} %{WORD:component}\[%{WORD:process}(?:\.%{INT:instance:int})?\]: %{DATA:message}$"
}
date { timestamp => ISO8601 }
}
output {
stdout { }
elasticsearch {
host => "your-cluster-subdomain.qbox.io"
port => "80"
protocol => "http"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment