0

这是一条 fluentd 写入我在 hdfs 中的日志的记录:

     2014-11-30 00:00:01    abc@gmail.com 123532 221241

第一个字段是来自 Fluentd 的时间键,但我不知道是记录存储在缓冲区中的时间还是写入日志文件的时间?

你能帮我回答这个问题吗?

谢谢 !

编辑:这是我的配置:

<match access.**>
 type webhdfs
 host localhost
 port 50070
 path /sendo/access.hadoop237.sendo.vn/%Y%m%d
 username hdfs
 output_include_tag false
 field_separator TAB
 remove_prefix access
 time_format %Y-%m-%d %H:%M:%S
 output_data_type attr:browserid,login_email,login_id,login_type,productId,p_name,p_url,shopId,userId,ipClient,time,u_agent,os_info,time_client,screen_size,device_name,page_id,block_id,level_cate,cate_id,combine

 localtime

 buffer_type file
 buffer_path /mnt/ramdisk/access
 buffer_chunk_limit 4m
 buffer_queue_limit 50
 flush_interval 3s
</match>
4

0 回答 0