[ https://issues.apache.org/jira/browse/METRON-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David M. Lyle updated METRON-226: --------------------------------- Labels: platform (was: 0.2.1BETA) > Field transformation utility for time zone conversion > ----------------------------------------------------- > > Key: METRON-226 > URL: https://issues.apache.org/jira/browse/METRON-226 > Project: Metron > Issue Type: New Feature > Reporter: Sunny Kumar > Priority: Minor > Labels: platform > Fix For: 0.2.1BETA > > Original Estimate: 48h > Remaining Estimate: 48h > > The user would be able to provide input of the timezone for a stream in json > for the specific parser. The field transformation will convert the time stamp > to UTC and will also take care of the Daylight Saving offset. The code in the > JSON will look like: > "fieldTransformations" : [ > { > "input" : "timestamp", > "transformation": "TRANSFORM_TO_UTC_EPOCH", > "config": > { > "timeZone":"America/New_York" > } > } > ], > The timezone should be valid as per the list at: > https://en.wikipedia.org/wiki/List_of_tz_database_time_zones > which are supported by the java.util.TimeZone package. > An invalid timezone would be defaulted to UTC. -- This message was sent by Atlassian JIRA (v6.3.4#6332)