RestfulBlue commented on issue #6004: Automatically Determine Ingestion Schema
URL: 
https://github.com/apache/incubator-druid/issues/6004#issuecomment-405076130
 
 
   Currently you can leave dimensions list empty, then every column, which not 
specified as metrics, will be indexed as string.
   
   Then you can convert every metric to some legacy format, where you have only 
one metric field , for example "value" with aggregation longSum. After that you 
can convert every record to that format
   For example if u have record like this:
   { timestamp : "2131249124" , "hostname":"somehost.com" , "cpu": 23 , 
"memory": 45 } 
   when you can convert it to format like this:
   { timestamp : "2131249124" , "hostname":"somehost.com" , "metric":"cpu", 
"value": 23 } 
   { timestamp : "2131249124" , "hostname":"somehost.com" , "metric":"memory", 
"value" : 45 } 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to