Is there a way to filter out certain log statements using the Heroku Addon?
02 May, 2012 03:15 AM UTC
Every minute hirefireapp pings our app to see if it needs to
adjust our dynos. That request is cluttering our logs. Do you
currently supporting filtering out certain statements (e.g. using a
regexp) using the Heroku Addon?
Support Staff1 Posted by Troy on 02 May, 2012 10:13 PM UTC
Great question. There's not right now, but we're going to add
such a thing (and it's not far away -- best guess, small number of
weeks). Do you have a strong preference between a regex, a
Papertrail search construct, or something else entirely?
2 Posted by Mattwindwer on 04 May, 2012 02:53 AM UTC
For ease of use, I would probably just prefer a way to enter
into a text field. I'm envisioning something like the way you
filters in gmail or even the way you exclude domains in google
You probably should be able to create one or more filters. The
should not be permanent -- you should be able to turn them on and
anytime and be able to see your unfiltered logs. There are probably
cool ways of doing this with a UI.
Regex would also be great as an advanced option, but for most
filtering out a certain term would probably suffice. In my case
be "hirefireapp". On the backend of your system that would
translate to something like /hirefireapp/i. Maybe you should have
dropdown option that asks whether what you're typing into the text
a search term or a regex.
Has there been an update to this? I would like to filter out
certain error messages from a saved search.
Support Staff4 Posted by Troy on 02 Nov, 2012 02:35 PM UTC
No news yet, but it's coming. I don't have a firmer ETA, so I'm
leaving this open until either it's live or I do.
5 Posted by Jason Horman on 04 Nov, 2012 02:57 AM UTC
It would be great if filtering out certain log lines would
reduce the total log transfer for the day. I would love it if I
only saw application logs in papertrail from heroku, and not
Support Staff6 Posted by Troy on 15 Nov, 2012 04:34 PM UTC
Stay tuned, all, this is right around the corner. I'll update
the ticket when it's available, which I'd guess is next week.
7 Posted by Tyler Morgan on 18 Dec, 2012 04:26 PM UTC
Has anything come of this? Would love to be able to apply regex
filtering to logs.
Support Staff8 Posted by Troy on 18 Dec, 2012 05:03 PM UTC
Yes, this is live for a few folks already and should be live for
everyone this week. Thanks for inquiring. I'll update this ticket
once it's available (and if you'd like to use it before then, just
open a private support request and tell us what you'd like to
9 Posted by Henrik Nyh on 23 Sep, 2013 02:32 PM UTC
Troy, could you please update this ticket with the infp?
Support Staff10 Posted by Troy on 23 Sep, 2013 03:10 PM UTC
Hi Henrik (and anyone else reading),
Absolutely. This has been live since shortly after my last
update, but it looks like when I sent updates to people who had
asked about it, I missed this ticket. I'm sorry to have made you
Here's an introduction and where I recommend starting: