Splunk AppDynamics

Unable to see data on Application Dashboard

Ashish_Patel
New Member

I am using appdynamics for the first time (trial account). I have created a .NET app in AppDynamics portal and followed the steps as mentioned while creating the application (also check the video).

1. I have also installed the .NET agent on my Laptop.

2. Create sample applications (.NET Core) and hosted in IIS. Generate some load for testing.

3. Agent connection was successful.

Issue: I still cannot see any data/statistics on the application dashboard.

Did I miss anything?

image.png

image.pngimage.png

Labels (1)
0 Karma
1 Solution

Joshua_Lyons
Explorer

There are a handful of issues that could be stopping the app from reporting but since it is a .NET Core app in IIS, the first thing to check would be if the app is running In-Process or Out-Of-Process.   I suspect that the web application is running out-of-process and hosted by dotnet.exe process.  If that is the case, you will need to configure the web application as a standalone application.

The following sample configuration demonstrates how to instrument a .NET Core standalone application hosted by the dotnet.exe :

<?xml version="1.0" encoding="utf-8"?>
<appdynamics-agent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <controller host="mycontroller.mycompany.com" port="8090" ssl="false">
    <application name="My Business Application" />
  </controller>
  <machine-agent />
  <app-agents>
    <IIS>
        <applications />
    </IIS>
    <standalone-applications>
        <standalone-application executable="dotnet.exe" command-line="MyApp.dll"> //command-line option instructs the agent to monitor only "MyApp" 
           <tier name="DotNet Core Tier" />
        </standalone-application>
      </standalone-applications>
  </app-agents>
</appdynamics-agent>


Here is a link to our documentation about setting up standalone applications:

https://docs.appdynamics.com/display/PRO45/Configure+the+.NET+Agent+for+Windows+Services+and+Standal...

Also, here is a link to the Microsoft docs about the Hosting models for ASP.NET Core if you need help determining what hosting model is set for your application.

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-3.1#...

View solution in original post

Tags (3)

Joshua_Lyons
Explorer

There are a handful of issues that could be stopping the app from reporting but since it is a .NET Core app in IIS, the first thing to check would be if the app is running In-Process or Out-Of-Process.   I suspect that the web application is running out-of-process and hosted by dotnet.exe process.  If that is the case, you will need to configure the web application as a standalone application.

The following sample configuration demonstrates how to instrument a .NET Core standalone application hosted by the dotnet.exe :

<?xml version="1.0" encoding="utf-8"?>
<appdynamics-agent xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <controller host="mycontroller.mycompany.com" port="8090" ssl="false">
    <application name="My Business Application" />
  </controller>
  <machine-agent />
  <app-agents>
    <IIS>
        <applications />
    </IIS>
    <standalone-applications>
        <standalone-application executable="dotnet.exe" command-line="MyApp.dll"> //command-line option instructs the agent to monitor only "MyApp" 
           <tier name="DotNet Core Tier" />
        </standalone-application>
      </standalone-applications>
  </app-agents>
</appdynamics-agent>


Here is a link to our documentation about setting up standalone applications:

https://docs.appdynamics.com/display/PRO45/Configure+the+.NET+Agent+for+Windows+Services+and+Standal...

Also, here is a link to the Microsoft docs about the Hosting models for ASP.NET Core if you need help determining what hosting model is set for your application.

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-3.1#...

Tags (3)

Ashish_Patel
New Member

Yes, After .NET Core application, I have tried .NET Framework application. I can see the telemetry of .NET Framework application.

Thanks for your help.

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...