I am trying to execute this query in cloudwatch lake.
SELECT
*
FROM
$EDS_ID
WHERE
eventsource = 'signin.amazonaws.com'
AND eventname = 'ConsoleLogin'
AND Element_at(additionaleventdata, 'MFAUsed'
) = 'No'
But I am not able to create Event Data Source correctly. Because the relevant signin option is not available in the drop-down. Available "Data event type" are like S3, Lambda, etc.
I suppose you mean CloudTrail Lake and creating Event data store.
You do not need to select the
Data Eventsbox. All you need to make it work is theManagement events.Leave all by default when creating Event data store, and test the query:
where
e1490c52-11ee-44be-827e-2cefa50780abis Event data store ID