Hammer task list --search help

Problem: Trying to figure out how to search tasks. The ‘hammer task list --help’ shows:

–search SEARCH Filter results

but does not give any examples. I tried ‘–search Result=error’ but get back:

400 Bad Request
Field ‘Result’ not recognized for searching!

I can’t find any examples on the Internet. Anyone have any ideas?

Expected outcome: Can search for hung tasks, error-ed tasks, etc.

Foreman and Proxy versions: foreman 3.0.1-1 , katello 4.2.1-1

Foreman and Proxy plugin versions:

Distribution and version: CentOS 7.9

Other relevant data:

anything you can use in Monitor > Tasks you should be able to pass to hammer task list --search. As far as I know there is no help, but the ui gives you autocompletion which hints towards what is available.

For result specifically, try with lower r.

Thanks! result=error worked! The help shows the field as Result. So, that is why I used a capital R. I’ll look in the gui and see what else I can come up with. Thanks again!