Search for the same error reasons in foreman

Hi,
i need a search in foreman for errors of the puppet runs on the clients.
In the moment i must look at every report to identify the error. I want to search the nodes with the same errors.
Best Regards
Detlef

How about hammer cli? For example:

# hammer config-report list --search 'failed > 0'
# hammer config-report info --id=12464

Yes, thanks, thats the solution. I didnt know that cli tool for foreman.