chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Seigel <ja...@tynt.com>
Subject Re: ChukwaRecord getTime();
Date Tue, 12 Oct 2010 18:56:40 GMT
That is helpful thanks!  I’ll have to see which processor we extended and go from there.

James.


On 2010-10-12, at 12:53 PM, Bill Graham wrote:

> 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