File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 6565 export DTTO=" $( to_epoch_ms " ${DTTO} " ) "
6666fi
6767
68+ DTF=$( date -u -d @$( echo " ${DTFROM} /1000" | bc) " +%F %T.%6N" )
69+ DTT=$( date -u -d @$( echo " ${DTTO} /1000" | bc) " +%F %T.%6N" )
70+ echo " Date range: ${DTF} .. ${DTT} (from ${DTFROM} to ${DTTO} )"
71+
6872if [ ! -z " ${DEBUG} " ]
6973then
7074 echo " aws --region \" ${REGION} \" --profile \" lfproduct-${STAGE} \" logs filter-log-events --log-group-name \" /aws/lambda/${log_group} \" --start-time \" ${DTFROM} \" --end-time \" ${DTTO} \" --filter-pattern \" ${2} \" "
Original file line number Diff line number Diff line change 5050 export DTTO=" $( date -d " ${DTTO} " +%s) 000"
5151fi
5252
53+ DTF=$( date -u -d @$( echo " ${DTFROM} /1000" | bc) " +%F %T.%6N" )
54+ DTT=$( date -u -d @$( echo " ${DTTO} /1000" | bc) " +%F %T.%6N" )
55+ echo " Date range: ${DTF} .. ${DTT} (from ${DTFROM} to ${DTTO} )"
56+
5357mapfile -t log_groups_array < <( aws --region " ${REGION} " --profile " lfproduct-${STAGE} " logs describe-log-groups --log-group-name-prefix " /aws/lambda/cla-" --query " logGroups[].logGroupName" | jq -r ' .[]' )
5458
5559IFS=' ,' read -ra INCL_LOGS_ARRAY <<< " ${INCL_LOGS}"
You can’t perform that action at this time.
0 commit comments