Hello everyone,

I'm working on https://github.com/mozilla-services/heka/issues/1549 which
will introduce more readable syntax for matching messages by timestamps in
heka.

I need your advice in two matters:
1) if following shorthand for matching messages would be useful for us (by
us i mean all users of heka):
'Timestamp == '2013-02-01'
That statement would match all messages with timestamps from that day.

More explicit notation would look:
'Timestamp >= '2013-02-01T00:00:00' AND Timestamp < '2013-02-02T00:00:00'

In my personal opinion shorthand for messages from whole day (and later a
month or even a year) would improve readability.

2) related and useful thing would be implementation of such matching (with
shorthands for year/month/day/hour etc.) for the rest fields. However, i'm
not sure if rest of community have the same needs and if that should have
bigger priority.

I've already pushed PR which currently implements shorthands mentioned in
1). However after discussion with @trink, we've decided to ask for your
advice/opinion if that will really help in your day-to-day work with heka.


-- 
jarek@reijutsu:~$ fortune
You have Egyptian flu: you're going to be a mummy.
jarek@reijutsu:~$ fortune
You now have Asian Flu.
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to