Eventstream filter api question

Hello @petew,

It is a syntax error and is already fixed here, I just don’t know why the Icinga documentation is not changed. Try the following:

curl -k -s -u root:icinga -H 'Accept: application/json' \                                                                                                                     130 ↵
-X POST 'https://localhost:5665/v1/events' \
-d '{ "queue": "myqueue", "types": [ "CheckResult" ], "filter": "event.check_result.exit_status==2" }'
1 Like