Make it easier for users to get aggregated by logs by providing a url to cloudwatch insights populated with the correct query.
$ cortex get <api_name>
...
aggregated logs: https://us-west-2.console.aws.amazon.com/cloudwatch/home?region=us-west-2#logsV2:logs-insights$3FqueryDetail$3D~(end~0~start~-3600~timeType~'RELATIVE~unit~'seconds~editorString~'fields*20*40timestamp*2c*20*40message*0a*7c*20sort*20*40timestamp*20desc*0a~isLiveTail~false~source~(~'cortex))
metrics dashboard: ...
Considerations:
- the query must change based on the API type and Kind
- set the start and end times correctly for batch jobs and tasks