jihoonson commented on issue #8916: Kinesis Indexing does not honor `transformSpec` of the `dataSchema` URL: https://github.com/apache/incubator-druid/issues/8916#issuecomment-557194685 Hi @jimj, thanks for sharing your spec. It seems like `transformSpec` is inside of `parser`. But it should be at the same level with `parser` in `dataSchema`. Please try the below spec out. ```json { "type": "kinesis", "dataSchema": { "dataSource": "stream_filter_poc", "parser": { "type": "string", "parseSpec": { "format": "json", "timestampSpec": { "column": "eventRecordDate", "format": "yyyy-MM-dd HH:mm:ss.SSS" }, "dimensionsSpec": { "dimensions": [ "eventType" ] } }, "metricSpec": [ { "type": "count", "name": "count" } ], }, "transformSpec": { "filter": { "type": "or", "fields": [ { "type": "selector", "dimension": "eventType", "value": "foo" }, { "type": "selector", "dimension": "eventType", "value": "bar" } ] } }, "granularitySpec": { "type": "uniform", "segmentGranularity": "DAY", "queryGranularity": "HOUR" } }, "tuningConfig": { "type": "kinesis", "maxRowsPerSegment": 5000000, "logParseExceptions": true }, "ioConfig": { "type": "kinesis", "stream": "stream-filter-poc", "endpoint": "kinesis.us-east-1.amazonaws.com", "taskCount": 1, "replicas": 1, "taskDuration": "PT5M", "recordsPerFetch": 2000, "fetchDelayMillis": 1000 } } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to 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]
