Nested Queries with CloudTrail Lake

1

Does anyone know if it's possible to nest queries specifically with CloudTrail Lake?

select data.*
from (
   select * from EDS limit 10
) as data
gefragt vor einem Jahr318 Aufrufe
1 Antwort
0

Hello, Nested queries are supported now. Please refer to this launch announcement. https://aws.amazon.com/about-aws/whats-new/2023/05/aws-cloudtrail-lake-query-presto-sql-select-functions/

Below is sample nested query for your reference. Hope this helps and please reach out if you have any questions.

select * from <EDS DETAILS> where eventName in (select distinct (eventName) from <EDS DETAILS>where eventName='CopyObject') and 
(eventTime > date_add('day',-1, now()))
AWS
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen