File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 3737if [ ! -z " ${DEBUG} " ]
3838then
3939 echo " aws --profile \" lfproduct-${STAGE} \" logs filter-log-events --log-group-name \" /aws/lambda/${log_group} \" --start-time \" ${DTFROM} \" --end-time \" ${DTTO} \" --filter-pattern \" ${2} \" "
40+ aws --profile " lfproduct-${STAGE} " logs filter-log-events --log-group-name " /aws/lambda/${log_group} " --start-time " ${DTFROM} " --end-time " ${DTTO} " --filter-pattern " \" ${2} \" "
41+ else
42+ aws --profile " lfproduct-${STAGE} " logs filter-log-events --log-group-name " /aws/lambda/${log_group} " --start-time " ${DTFROM} " --end-time " ${DTTO} " --filter-pattern " \" ${2} \" " | jq -r ' .events'
4043fi
4144
42- aws --profile " lfproduct-${STAGE} " logs filter-log-events --log-group-name " /aws/lambda/${log_group} " --start-time " ${DTFROM} " --end-time " ${DTTO} " --filter-pattern " \" ${2} \" "
You can’t perform that action at this time.
0 commit comments