Connecting Cloud Innovators: Building Community at .NEXT 2024
Hi @Keith K v3 APIs filter follows FIQL syntax. example to filter out a VM with name and cluster UUID in /vms/list API can be done using: "filter": "vm_name==MYSQL.*;cluster=in=<cluster uuid>", Here is a post where there is an example on how to use Filter syntax for /vms/list API . https://next.nutanix.com/api-31/filter-alerts-via-api-from-prism-central-37704 For alerts too, it works the same as above. We don’t have any documentation as such. Below is an example of how to use this : { "entity_type": "alert", "query_name": "eb:data-1591856320500", "grouping_attribute": "", "group_count": 3, "group_offset": 0, "group_attributes": [], "group_member_count": 40, "group_member_offset": 0, "group_member_sort_attribute": "_created_timestamp_usecs_", "group_member_sort_order": "DESCENDING", "group_member_attributes": [{ "attribute": "title" }, { "attribute": "source_entity_name" }, { "attribute": "primary_impact_type" }, { "attribute": "severity" }, { "attribute": "
Hi @MVerhaeghe , were you able to solve the issue. Did the error go? Did the above documents help?
Hi @DanielePesciallo , any update. Did it work? Do you need anything else related to this?
Really sorry but, this API is actually internal @DanielePesciallo . We don’t have this listed in any public documentation.
Hi @DanielePesciallo Can you try doing the below: 1) List the roles using this API: API: https://<PCVM_IP>:9440/api/nutanix/v3/roles/list 2) And then update the project using this API: https://<PCVM_IP>:9440/api/nutanix/v3/projects_internal/<Project_UUID> For assigning roles to users in the project, this should work, given you know which user to add and that is already configured through directory services. You can find more details in Rest API explorer about the above. Let me know if this works.
Hi @MVerhaeghe , can you go to location ~/data/logs/ on the PC-VM and check the logs inside karbon_core.out at the above location. This log is the primary place to look for any Karbon deployment issues. Also is your PC environment using any Proxy ?, If that is the case, can you once check out this KB article KB 7230(Special Consideration deploying Karbon in a proxy environment)
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.