You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Casey Stella (JIRA)" <ji...@apache.org> on 2016/11/02 18:21:59 UTC

[jira] [Updated] (METRON-226) Field transformation utility for time zone conversion

     [ https://issues.apache.org/jira/browse/METRON-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Casey Stella updated METRON-226:
--------------------------------
    Fix Version/s:     (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
>   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)