If you have published Proxy Applications with Azure AD App Proxy, you will also have installed one or more Application Proxy Connectors in your environment.
When you install the Application Proxy Connector, you will also get an event log for the Connectors Information, Warning or Error events.
I wanted to bring these events to my Operations Management Suite (OMS) environment, so this blog post shows how to do that.
First, let us look at the event log in question. Here I have some events, I also see that I have some warning and error events, showing that I have an issue with connecting to a backend server published with Azure AD App Proxy:
Before I can add this event log to OMS, I need to determine the name of the event log. I select Properties for the log:
The name of the log is Microsoft-AadApplicationProxy-Connector/Admin.
Now I can log into Operations Management Suite to configure the log source. I go to Settings and select the Logs section. I then add the name of the Application Proxy Connector log, and select which type of events that I want to collect. In my case I select Error and Warning.
When saving that, OMS will soon start collection event log entries from the Connector Proxy log, assuming of course that the server in question have an agent installed, either directly or via Operations Manager Management Group:
Let us see how it looks when data from the event log are appearing in OMS.
I start by doing a Log Search. I can either specify the query directly, like this: Type=Event EventLog=”Microsoft-AadApplicationProxy-Connector/Admin”, or I can select from all events and filter my way to the event log I want to.
This is how I specified the query:
I can see that I have some errors and warnings, let us drill into one of them. I do this by clicking [+] show more. I can now see the same error with backend as I had in the local event log:
So, my objective for getting the Connector Proxy event log data to OMS has been fulfilled, and I can start grouping, filtering and searching the log data.
As a last step, let us add a Dashboard view for this data.
First, I select to Save my Search:
Then I go to My Dashboard, and select Customize:
I find my Saved Search and add it to the Dashboard:
If I want to I can customize the Tile Visualization:
When I finish customizing, I now have a Dashboard Tile for Azure AD App Proxy Events, and by clicking it, I am going directly to the Log Search:
Hope this has been helpful, happy log searching in OMS!