Hi Sameera, Yes, storing the time in "epoch time" is correct. Its the presentation which should depend on "Locale"
The disagreement here is which is the time zone we select to display (Server vs Browser), each choice seems having valid use cases. Cheers, Ruwan On Mon, Jun 13, 2016 at 11:32 AM, Sameera Ramasinghe <[email protected]> wrote: > Hi, > > That IST time-zone showing in the DAS explorer is the time the logs are > published to the DAS. Not the time contained in the logs. The log times are > in the "eventimestamp" field as epoch time. So we need to convert this > epoch time in JS level. I will work on a fix and let you know. If we can > get the server time zone, we can do as Ruwan said. > > On Mon, Jun 13, 2016 at 11:27 AM, Ruwan Abeykoon <[email protected]> wrote: > >> Hi All, >> The time zone is something we need on all the Log Analyzer gadgets to >> handle properly, in the same way. >> >> Why we can not get the server time zone in AWS? >> >> What time zone a user is interested while looking at the logs and errors. >> I think it is the server time zone. This is the time the logs are being >> printed in respective carbon.log (if any). >> >> >> Cheers, >> Ruwan >> >> On Mon, Jun 13, 2016 at 11:16 AM, Ishara Cooray <[email protected]> wrote: >> >>> (+ architecture) >>> >>> >>> On Mon, Jun 13, 2016 at 10:48 AM, Ishara Cooray <[email protected]> >>> wrote: >>> >>>> In fact, in cloud we cannot get the server time zone as hosted in AWS. >>>> So need to get the Browser Time Zone. >>>> >>>> *@Sameera,* >>>> Can we have this option in Log Analyzer Tool? >>>> >>>> Ishara Cooray >>>> Senior Software Engineer >>>> Mobile : +9477 262 9512 >>>> WSO2, Inc. | http://wso2.com/ >>>> Lean . Enterprise . Middleware >>>> >>>> On Mon, Jun 13, 2016 at 10:20 AM, Ruwan Abeykoon <[email protected]> >>>> wrote: >>>> >>>>> +1 >>>>> This should be based on Server Time Zone rather than Browser Time >>>>> Zone, I guess. >>>>> Or should there be an option to set the TZ as server or Browser ? If >>>>> so all the Log Analyzer gadgets should have the same option. >>>>> >>>>> >>>>> Cheers, >>>>> Ruwan >>>>> >>>>> On Mon, Jun 13, 2016 at 10:02 AM, Ishara Cooray <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> In the Log Analyzer tool, the logs are shown with GMT time where as >>>>>> in DAS Data Explorer it is shown for me in IST. >>>>>> >>>>>> So i guess Log Analyzer Tool should show the localized time. >>>>>> >>>>>> *@Amila,* >>>>>> WDUT? >>>>>> >>>>>> Thanks. >>>>>> Ishara Cooray >>>>>> Senior Software Engineer >>>>>> Mobile : +9477 262 9512 >>>>>> WSO2, Inc. | http://wso2.com/ >>>>>> Lean . Enterprise . Middleware >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Ruwan Abeykoon* >>>>> *Associate Director/Architect**,* >>>>> *WSO2, Inc. http://wso2.com <http://wso2.com/> * >>>>> *lean.enterprise.middleware.* >>>>> >>>>> email: [email protected] >>>>> >>>> >>>> >>> >> >> >> -- >> >> *Ruwan Abeykoon* >> *Associate Director/Architect**,* >> *WSO2, Inc. http://wso2.com <http://wso2.com/> * >> *lean.enterprise.middleware.* >> >> email: [email protected] >> > > > > -- > *Sameera Ramasinghe* > Software Engineer, WSO2 Inc.; http://wso2.com > mobile: *+94 714489682* > -- *Ruwan Abeykoon* *Associate Director/Architect**,* *WSO2, Inc. http://wso2.com <http://wso2.com/> * *lean.enterprise.middleware.* email: [email protected]
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
