Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
09-29-2022 06:38 AM
Hello,
Currently attempting to set up a Custom Java Endpoint to retrieve LDAP URL that is being monitored by the Java Agent. I have attempted several configurations but none seem to be working. I am currently using this doc: https://docs.appdynamics.com/appd/22.x/latest/en/application-monitoring/configure-instrumentation/ba... However, it still only recovers the automated backend LDAP information. Any help would be appreciated. Thanks!
10-12-2022 12:51 AM
Hi Chris,
Thanks for posting question to the community!
I'd like to recommend you to add a getter method for Ldap Url in your source code and then use Custom Exit Point again.
Here are screenshot of my demo and result, please check them.
<Ldap source code screenshot>(figure1)
<Controller screenshot>(figure2)
<Custom Exit Points screen shot>(figure3, figure4)
Hope this answer helps!
Best regards,
Xiangning
10-12-2022 11:11 PM
Hi Chris,
Please let me add a new comment.
If you don't want to add getter method for LDAP URL in your source code, you could also use "Data Collector" to retrieve LDAP URL.
Here is the document about "Data Collector".
Then you can get results by using "Searches" in Analytics.
Here are some documents about how to use Analytics.
Configure Transaction Analytics:
Searches in Analytics:
Custom Method Invocation Data
ADQL:
URL: https://docs.appdynamics.com/appd/22.x/latest/en/analytics/adql-reference/adql-queries
Please refer to my new screenshot if you need.
<Data Collector screeshot>(figure10, figure11)
<Results of Controller>(figure12)
Hope this answer helps!
Best regards,
Xiangning
10-13-2022 01:22 PM
Thank you Xiangning, your answer was just what I needed to get an understanding of what needed to happen. Unfortunately, the source code cannot be changed so the Data collector option is our only option.
10-19-2022 08:55 AM
Hi Xiangning, I wanted to thank you for the guidance. I was able to retrieve the LDAP URL through the Data Collector. My question is if it's possible to parse the information collected to just show the URL and not everything else. Or is this just a limitation of AppDynamics?
10-19-2022 09:45 PM
Hi Chris,
Thanks for contacting me.
Unfortunately, currently it's impossible to parse the information unless you fine-tuned your Data Collector config in a way to get the return of LDAP URL value only.
If you have a method using LDAP URL only, maybe you can try to get results from that method.
Best regards,
Xiangning
04-19-2023 03:02 PM
You can use java commands like split to parse info you return as part of the collector. You can also parse out whatever you want in the Analytics part, in your query.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form