[英]AWS Quicksight: How to Get the latest Data from S3
My Quicksight currently takes everything in the S3 bucket我的 Quicksight 目前使用 S3 存储桶中的所有内容
(S3 sample) https://i.stack.imgur.com/cO8kL.png (S3 样本) https://i.stack.imgur.com/cO8kL.png
But S3 keep changing folder base on the date so 01/,02/,03/ and so on Is there a way to only take the latest data not all of it?但是 S3 不断根据日期更改文件夹,所以 01/、02/、03/ 等等有没有办法只获取最新数据而不是全部数据?
[this my current manifest:] [这是我当前的清单:]
{
"fileLocations": [
{
"URIPrefixes": [
"https://sample-S3bucket.amazonaws.com/"
]}
],
"globalUploadSettings": {
"format": "JSON"
}
} }
There might be a simple solution that I might not know about.可能有一个我可能不知道的简单解决方案。
You could set Quicksight to read from another bucket and set a lambda that is triggered when aa new file is uploaded into your existing bucket.您可以将 Quicksight 设置为从另一个存储桶中读取,并设置一个 lambda,当新文件上传到您现有的存储桶中时触发。 This lambda would:
这个 lambda 将:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.