I’m trying out this functionality at the moment with a very recent dev build (commit 733bc1c109f1b72250f67c14cd5fb50d6a46593a on master). I have been able to run a Cloudwatch Log Insights query, specifying an integer value for
In general, how could an integer value determined from a date be passed in the Redash query?
An example of a value for
startTime of 3hrs ago would be
int((datetime.utcnow() - timedelta(hours=3)).timestamp())
But how could something like that be built in to the Redash query?
My working Redash query looks something like this,
logGroupName: '<my log group name>',
fields @timestamp,@message |
sort @timestamp desc |