You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@druid.apache.org by GitBox <gi...@apache.org> on 2018/07/15 08:35:09 UTC

[GitHub] RestfulBlue commented on issue #6004: Automatically Determine Ingestion Schema

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@druid.apache.org
For additional commands, e-mail: dev-help@druid.apache.org