chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuti Awasthi <>
Subject How to use metadata sent by agent to collector
Date Fri, 01 Oct 2010 13:15:34 GMT
Hi all,

I noticed that when agent sends chunks to collector it also sends the metadata along with
it, but in class , we are just dealing with the record entry that comes from agent.
How can I use this metadata information that is sent by agent to collector also on collector

Example , each chunk sends the meta data given as below , how can I use other fields like
Key  or capp on my collector side.
    "DataType": "logtype",
    "Key": "1285916400000/",
    "Timestamp": 1285917710741,
    "mapFields": {
  "capp": "/home/hadoop/xend.log",
  "csource": "",
  "ctags": " cluster=\"chukwa",
 "body" : "xyz"

Any pointers will be helpful.

Stuti Awasthi

This e-mail may contain privileged and confidential information which is the property of Persistent
Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed.
If you are not the intended recipient, you are not authorized to read, retain, copy, print,
distribute or use this message. If you have received this communication in error, please notify
the sender and delete all copies of this message. Persistent Systems Ltd. does not accept
any liability for virus infected mails.

View raw message