Wednesday, August 2, 2017

vRealize Log Insight : vRA Provisioning Status - Custom Dashboards Part 2

The Part 1 of the series explained the procedure to capture the CatalogItem Request Status.
We now will see how in the same UI, we capture the requester details as well.

Post Series PART 2: CatalogItems Requester Details

The one is an easy one. If you observe the below event closely, you will see the RequestedFor section which shows the name of the Requester.

2017-05-17 12:22:57,530 vcac: [component="cafe:catalog" priority="INFO" thread="queue-pool-executer-2" tenant="" context="pRR17pBs" parent="pRR17pBs" token="lV8CyMaO"] com.vmware.vcac.catalog.notifications.NotificationQueuePublisherImpl.send:30 - Publishing notification event for scenario REQUEST_SUBMISSION and entity CatalogItemRequest [catalogItem={[CatalogItem]: Id: [a74e3ca0-ccc6-4a18-a4ff-0d87e83bf38c]}, toString()=Request [requestNumber=305, state=SUBMITTED,,, description=null, reasons=null, organization=Organization[tenant=Tenant [id=vsphere.local, name=vsphere.local],subTenant=SubTenant [id=e811dc4c-9776-4384-94ab-70758f503eed, name=VBC-BG, tenant=Tenant [id=vsphere.local, name=vsphere.local]]], requestorEntitlement=Entitlement: [id=0d4a0e96-f95f-4369-b765-589ce46b93aa] [name=VBC] [status=ACTIVE]

We need to create a custom field for value of "RequestedFor" string.

Once we have the custom field created, run query we created in Step 3 of the Part 1 post. Group the Chart UI output by "RequestedFor" in a Time Bound manner.
You can choose any chart type. In my case i have chosen Automatic chart.

The output shows the request made for a specific Catalog blueprint over time, with the requestors' name as colored legends on the right hand side. 

No comments:

Post a Comment