Filter successed and error jobs by queue name

good day,

how can i filtered/group (such as in enqueued state) jobs with state successed and errors by queue name?