Created
September 28, 2015 18:44
-
-
Save Samstiles/cec2983ec81dda0959e7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"dataSchema" : { | |
"dataSource" : "hyperion2", | |
"parser" : { | |
"type" : "string", | |
"parseSpec" : { | |
"format" : "json", | |
"timestampSpec" : { | |
"column" : "timestamp", | |
"format" : "auto" | |
}, | |
"dimensionsSpec" : { | |
"dimensions": ["interaction-id","utc-timestamp","resource-id","resource-name","event-type","tenant-id","tenant-name"], | |
"dimensionExclusions" : [], | |
"spatialDimensions" : [] | |
} | |
} | |
}, | |
"metricsSpec" : [{ | |
"type" : "count", | |
"name" : "count" | |
}], | |
"granularitySpec" : { | |
"type" : "uniform", | |
"segmentGranularity" : "HOUR", | |
"queryGranularity" : "NONE", | |
"intervals" : [ "2013-01-23/2020-02-01" ] | |
} | |
}, | |
"ioConfig" : { | |
"type" : "realtime", | |
"firehose": { | |
"type": "local", | |
"baseDir": "examples/titan/data", | |
"filter": "InstanceEvent.json" | |
} | |
}, | |
"tuningConfig": { | |
"type" : "index", | |
"targetPartitionSize": 0, | |
"rowFlushBoundary": 0 | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
had to change type to realtime in tuningConfig as well