Skip to content

Instantly share code, notes, and snippets.

@Samstiles
Created October 7, 2015 14:20
Show Gist options
  • Save Samstiles/12ec4976e12f3c8e695e to your computer and use it in GitHub Desktop.
Save Samstiles/12ec4976e12f3c8e695e to your computer and use it in GitHub Desktop.
[
{
"dataSchema" : {
"dataSource" : "testing",
"parser" : {
"type" : "string",
"parseSpec" : {
"format" : "json",
"timestampSpec" : {
"column" : "timestamp-utc",
"format" : "auto"
},
"dimensionsSpec" : {
"dimensions": ["event-type"]
}
}
},
"metricsSpec" : [{
"type" : "count",
"name" : "count"
}],
"granularitySpec" : {
"type" : "uniform",
"segmentGranularity" : "DAY",
"queryGranularity" : "NONE"
}
},
"ioConfig" : {
"type" : "realtime",
"firehose": {
"type": "local",
"filter": "*.json",
"baseDir": "examples"
},
"plumber": {
"type": "realtime"
}
},
"tuningConfig": {
"type" : "realtime",
"maxRowsInMemory": 500000,
"intermediatePersistPeriod": "PT10m",
"windowPeriod": "PT10m",
"basePersistDirectory": "\/tmp\/realtime\/basePersist",
"rejectionPolicy": {
"type": "none"
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment