2

The @timestamp field for example, while a long, is always displayed as a date. Can I convert/display it as a long/int?

kane
  • 5,465
  • 6
  • 44
  • 72

1 Answers1

1

There is a toMillis function:

Converts the timestamp found in the named field into a number representing the milliseconds since the Unix epoch.

https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html

Dejan Peretin
  • 10,891
  • 1
  • 45
  • 54