cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need to programmatically gather mobile crash details

Nicholas.Goracke
Explorer

https://community.appdynamics.com/t5/Knowledge-Base/How-do-I-gather-mobile-crash-stack-traces-using-...

I found this rather old post above, but it doesn't seem to be working.  Essentially, what we would like to do is this:

- For the last x amount of time, programmatically gather mobile crash data (crash location, stack trace if available)

I've tried using the commands from the post above, but our users only have a client secret.  The cookie doesn't seem to be valid.

$ curl -X GET -c /tmp/cookie --user <username>:<clientsecret> "https://<controller domain>.saas.appdynamics.com/controller/auth?action=login"

 

$ cat /tmp/cookie

# Netscape HTTP Cookie File

# https://curl.se/docs/http-cookies.html

# This file was generated by libcurl! Edit at your own risk.

 

<controller domain>.saas.appdynamics.com  FALSE  /controller  TRUE  0  JSESSIONID  node0sjew4rhlgia01p578fkyqraqw146492667.node0

 

$ curl -X POST -b /tmp/cookie 

https://<controller domain>.saas.appdynamics.com/controller/restui/analyticsCrashDashboardUiService/getMobileCrashGroups

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <title>Unauthorized</title>

</head>

<body>

HTTP Error 401 Unauthorized

<p/>

This request requires HTTP authentication

</body>

</html>

0 REPLIES 0
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here