Splunk AppDynamics

Not able to find the logs written(instrumentation) form xamarin forms APP IN SITE

CommunityUser
Splunk Employee
Splunk Employee

Hi Team,

I am trying to do appdynamics on a xamarin forms app.

I am getting the crash details.

I have used instrumentation and logging some data from code

public MainPage()
{

var callTracker = AppDynamics.Agent.Instrumentation.BeginCall("MainPage", "Constructor", "Page ConstructorLoading");
InitializeComponent();
try
{
//Label f = new Label();
//f.Text = "Welcome";
//this.Content = f;
AppDynamics.Agent.Instrumentation.EndCall(callTracker);
}
catch(Exception ex)
{
AppDynamics.Agent.Instrumentation.LeaveBreadcrumb("login",AppDynamics.Agent.BreadcrumbVisibility.CrashesAndSessions);
AppDynamics.Agent.Instrumentation.EndCall(callTracker, ex);
}

}

Where can I find these logs in site? I am unable to find this information.

Labels (1)
0 Karma

Chitra_Lal
Contributor

Hi Simi,

If you want to track your calls or report other types of metricsYou can instrument methods to see how often the instrumented a method is invoked and how long it takes to run. To do this, add a call at the beginning and end of the method you'd like to instrument.

https://docs.appdynamics.com/display/PRO45/Instrument+Xamarin+Applications#InstrumentXamarinApplicat...)

All this data will be available in the Controller Mobile app UI; should be available in Network Request Analyze and is added to any crash snapshots that may be taken. For anything extra that you might have added to get in logs, should come in either the ios/android app console logs or the mobile agent logs. There is no separate logging for anything other than this. 

Thank You,

Chitra

Tags (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Could you please tell me how we can see the android/ios console log and mobile agaent log (the navigation)?

0 Karma

Chitra_Lal
Contributor

Hi Simi,

Console logs would come when you restart your app, in yourAndroid Studio Console(or whatever tool you are using for building the app). And aprt from this you should have log files named like " appdynamics_eum_android_bci.log" in the build folder. Ideally the log file location is configurable and can be diff for diff customers.

Thanks,

Chitra

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...