sureshanaparti commented on PR #11355:
URL: https://github.com/apache/cloudstack/pull/11355#issuecomment-3140060330

   Verified the Events filter by state.
   
   CMK:
   ```
   (localcloud) 🐱 > list events state=Test
   🙈 Error: (HTTP 431, error code 4350) Invalid state specified: Test
   (localcloud) 🐱 >
   
   (localcloud) 🐱 > list events state=Started
   {
     "count": 32,
     "event": [
       {
         "account": "admin",
         "created": "2025-07-31T13:15:53+0000",
         "description": "Creating Physical Network. Physical Network Id: 200",
         "domain": "ROOT",
         "domainid": "263a0f00-6e0e-11f0-87e1-1e0006000436",
         "domainpath": "/",
         "id": "502ca824-1de3-4d4e-ada9-3694f9ddcbbe",
         "level": "INFO",
         "parentid": "e81252b6-6840-49fb-bf6d-3f247925abf7",
         "resourceid": "a9a6d9f9-84c8-43c6-9549-32dcd40a47ec",
         "resourcename": "Physical Network Mgmt",
         "resourcetype": "PhysicalNetwork",
         "state": "Started",
         "type": "PHYSICAL.NETWORK.CREATE",
         "username": "admin"
       },
       {
         "account": "admin",
         "created": "2025-07-31T13:15:56+0000",
         "description": "Creating Physical Network. Physical Network Id: 201",
         "domain": "ROOT",
         "domainid": "263a0f00-6e0e-11f0-87e1-1e0006000436",
         "domainpath": "/",
         "id": "9c367f27-8972-457e-967f-ad553d0098ab",
         "level": "INFO",
         "parentid": "b3e6c45f-163d-4252-9465-74bf0b31cda0",
         "resourceid": "2e264248-b4b9-49f4-9c64-98d7b130d8e0",
         "resourcename": "Physical Network Guest Public",
         "resourcetype": "PhysicalNetwork",
         "state": "Started",
         "type": "PHYSICAL.NETWORK.CREATE",
         "username": "admin"
       },
       ...
       (localcloud) 🐱 > list events state=Completed
   {
     "count": 46,
     "event": [
       {
         "account": "admin",
         "created": "2025-07-31T13:15:53+0000",
         "description": "Successfully completed creating zone. Zone Name: 
pr11355-t13989-kvm-ol8",
         "domain": "ROOT",
         "domainid": "263a0f00-6e0e-11f0-87e1-1e0006000436",
         "domainpath": "/",
         "id": "d619e622-c266-4076-a153-38c56784c115",
         "level": "INFO",
         "resourceid": "a1c72c9c-dec2-4959-b494-6ed47d2638af",
         "resourcename": "pr11355-t13989-kvm-ol8",
         "resourcetype": "Zone",
         "state": "Completed",
         "type": "ZONE.CREATE",
         "username": "admin"
       },
       {
         "account": "admin",
         "created": "2025-07-31T13:15:53+0000",
         "description": "Successfully completed Creating Physical Network. 
Physical Network Id: 200",
         "domain": "ROOT",
         "domainid": "263a0f00-6e0e-11f0-87e1-1e0006000436",
         "domainpath": "/",
         "id": "fa1b343e-d26d-45f2-8149-bd41a29f7036",
         "level": "INFO",
         "parentid": "e81252b6-6840-49fb-bf6d-3f247925abf7",
         "resourceid": "a9a6d9f9-84c8-43c6-9549-32dcd40a47ec",
         "resourcename": "Physical Network Mgmt",
         "resourcetype": "PhysicalNetwork",
         "state": "Completed",
         "type": "PHYSICAL.NETWORK.CREATE",
         "username": "admin"
       },
   ...
   ```
   
   GUI:
   
   - List Events, Filters
   <img width="1188" height="708" alt="01-Events-Filters" 
src="https://github.com/user-attachments/assets/e12b25e5-e4ae-47c6-95f5-97f3b1a5cb39";
 />
   
   - List Events, Created Filter
   <img width="1205" height="709" alt="02-Events-CreatedFilter" 
src="https://github.com/user-attachments/assets/bd4ce4e6-6c2d-4c2f-b618-77b064c00b71";
 />
   
   <img width="1203" height="712" alt="02-Events-CreatedFilterApplied" 
src="https://github.com/user-attachments/assets/97f3bb1f-eea5-40c6-8bd2-7c3c0a24b2a1";
 />
   
   - List Events, Scheduled Filter
   <img width="1182" height="625" alt="03-Events-ScheduledFilter" 
src="https://github.com/user-attachments/assets/f084f04f-1e4e-4612-8a72-26914396ec19";
 />
   
   - List Events, Started Filter
   <img width="1192" height="631" alt="04-Events-StartedFilter" 
src="https://github.com/user-attachments/assets/d66fe7a0-2d1f-41f7-84cb-2bfa548e44e2";
 />
   
   - List Events, Completed Filter
   <img width="1186" height="607" alt="05-Events-CompletedFilter" 
src="https://github.com/user-attachments/assets/732dc04c-e274-4c1e-a225-c0d45e55a9a2";
 />
   
   - List Events, No Filters
   <img width="1183" height="712" alt="06-Events-NoFilter" 
src="https://github.com/user-attachments/assets/bace82f1-60b3-42c4-a1ef-0ab611b3146b";
 />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to