Hi, filter is a keyword in cloudmonkey/cmk, not an parameter in cloudstack api.
Try with 'projectid'. -Wei On Thursday, 13 January 2022, Ricardo Pertuz <[email protected]> wrote: > Hi team, > > Any thoughts about it? Anyone knows what is going on here? > > Thanks! > > On 13/01/22, 3:23 AM, "Ricardo Pertuz" <[email protected]> wrote: > > Hi guys, > > When I try to filter the record usage of a project, nothing is > happening. It brings me all records for the date from all projects, am I > doing something wrong? Please follow this example with a filter to filter > project names in the output. > > > list usagerecords projectid=408271ae-fa1c-44e3-b8d7-50f7dab3100c > filter=project startdate=2022-01-01 enddate=2022-01-02 > { > "count": 144, > "usagerecord": [ > {}, > {}, > {}, > {}, > {}, > {}, > {}, > {}, > { > "project": "612662068cc2d5156ab00510" > }, > { > "project": "Tigre" > }, > { > "project": "Tigre" > }, > { > "project": "Tigre" > }, > { > "project": "Tigre" > >
