Thursday, December 10, 2015

Convert UTC time to EST

Example to convert UTC to EST time format

Use case: Convert AWS S3 logs to EST format

| eval time=strftime(strptime(utc_time_field,"%Y-%m-%dT%H:%M:%S.%N%Z"),"%Y-%m-%d %I:%M:%S.%N_%Z") | table utc_time_field, time

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home