How can I configure application filtering for the .NET Agent on non-desktop Windows servers?

How can I configure application filtering for the .NET Agent on non-desktop Windows servers?

Steps to follow

Non-Windows desktop servers have the capability to set up application filtering for monitoring exclusively through the agent configuration file. To configure application filtering for your non-Windows server, follow the steps given below:
  1. Open the specified Configuration file using a text editor.
  2. Locate the Application filtering settings.
  3. Modify the application settings to your requirements.
  4. Save the changes made to the configuration files.
  5. Restart the agent to apply the new settings.

IIS Sites Filtering

Configuration File: C:\ProgramData\DotNetAgent\appfilter.conf
Description: Specify the IIS Sites and their corresponding APM names for monitoring. If APM names are not needed, leave the value field empty.
  1. To Enable Application Filtering: Specify whether the applications are to be filtered. Default value: TRUE.
use.app.filters=True
  1. To List IIS Sites: Specify which applications are to be monitored. The values should be provided as a JSON-formatted string, and the input is case-insensitive.
For Example:
include.app.names={"Default Web Site/" : "localhost", "Default Web Site/MVCSample" : "MVCSample"}

Window Service App Filtering

Configuration File: C:\ProgramData\DotNetAgent\windows_appfilter.conf
Description: List the Windows services and their corresponding APM names for monitoring. If APM names are not needed, leave the value field empty.
  1. To Enable Windows Service Monitoring: Specify whether the Windows services are to be monitored or not. Default value: FALSE        
enable.windows.services=True
  1. To List Windows Services: If the Windows service option is enabled, include the specified services for monitoring. Please use a JSON-formatted string; it is case-insensitive. Use the executable file name as the key and the service display name as the value. 
For Example:
include.service.names={"com.docker.service_com.docker.service_1.0.0.0":"Docker Desktop Service"}

Window Desktop App Filtering

Configuration File: C:\ProgramData\DotNetAgent\standalone_appfilter.conf
Description: List the Windows Desktop applications and their corresponding APM names for monitoring. If APM names are not needed, leave the value field empty.
  1. To List Windows Desktop Apps (XML format): The application specified in this field will be included for monitoring. Please use XML formatting, and it is case-insensitive. The key will be executable file name, and the value will be app display name.
For Example: 
<applications>
<application executable="docker desktop.exe_4.3.2.72729" name="Docker Desktop" /></applications>


                  New to ADSelfService Plus?

                    • Related Articles

                    • How to Install .NET agent on AWS Elastic Beanstalk?

                      One of the two options listed below can be used to install APM Insight agent onto a .NET web application hosted in Elastic Beanstalk environment via ebextensions. Deployment through AWS kit for Visual Studio. Deployment via uploading packages to AWS ...
                    • Setting WMI access through Active Directory and Group Policy Object for non-admin user

                      In our case, we run Active Directory on Windows 2008 R2 and we want to scan the target machine which is Windows 2012 R2 machine. Our domain is called “APMCLU” and we name our dedicated WMI user-account “wmiuser”. First – Setting done from Active ...
                    • APMInsight - NET Agent Onboarding - KB

                      Prerequisites: The environment should aligns with our agent's supported components( .NET Framework 3.0 Service Pack installed, Microsoft .NET runtime version 4.0 & above) Network and Firewall: Outbound communication from the agent installed machine ...
                    • APMInsight - .NET Agent Data Collection - KB

                      Prerequisites: The environment should aligns with our agent's supported components( .NET Framework 3.0 Service Pack installed, Microsoft .NET runtime version 4.0 & above) Network and Firewall: Outbound communication from the agent installed machine ...
                    • How to install .NET agent on Azure app services?

                      You can track the performance of your .NET and .NET Core web app's key metrics like response time, throughput, and Apdex score via the APM Insight .NET agent hosted in Azure App Services. Installing APM Insight extension via Azure portal 1. Log in to ...