chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Graham <billgra...@gmail.com>
Subject Re: ChukwaRecord getTime();
Date Tue, 12 Oct 2010 18:53:29 GMT
How the time is determined depends on what Processor is used, but this
field should be the time that is associated with when that record was
created by the data source (i.e. when the event it represents actually
occurred).

For example, if you're using the TsProcessor on a log file, you'll get
the time found in the log line as parsed into a Date object (see
https://issues.apache.org/jira/browse/CHUKWA-472).

I believe other processors (defaultProcessor?) will use the time that
the record was created in the adaptor if a time can't be grokked by
looking at the record itself.

HTH,
Bill

On Tue, Oct 12, 2010 at 11:00 AM, James Seigel <james@tynt.com> wrote:
> Hello,
>
> Quick question.
>
> When you call getTime() on a chukwa record.  What time am I getting?
>
>        is it gmt?
>        is it agent time?
>        is it demux time?
>        is it collector time?
>
> My head is just a little confused.
>
> Cheers
> James.
>
>

Mime
View raw message