I am trying to get the log insights from aws using sdk for javascript v3, I can see that we can only schedule a query using StartQuery and later get results using getQueryResults methods respectively. I came across filterLogEvents method which filter the log events alone with Regex but I need to use the query alone.
Is there any hack to get the results synchronously ?