[ZBX-24832] API event.get filter issue Created: 2024 Jul 11 Updated: 2024 Jul 11 Resolved: 2024 Jul 11 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 7.0.0 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Kristoffer Isaksson | Assignee: | Zabbix Development Team |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Steps to reproduce:
Result: { "jsonrpc": "2.0", "error": { "code": -32602, "message": "Invalid params.", "data": "Invalid parameter \"/filter\": unexpected parameter \"clock\"." }, "id": 1} Expected: |
Comments |
Comment by Alexander Vladishev [ 2024 Jul 11 ] |
The event.get method does not support the "clock" field in filters. Instead, you can use the "time_from" and "time_till" parameters. |