Splunk AppDynamics

Retrieving LDAP URL with Java Custom Endpoints

Christopher_Oje
Explorer

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!

Labels (1)
0 Karma

Xiangning_Mao
Path Finder

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.

Reference: https://community.appdynamics.com/t5/Business-iQ-Analytics/Analytics-search-ADQL-Query-to-manipulate...

Best regards,
Xiangning

0 Karma

Christopher_Oje
Explorer

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?

Gregory_Burkhea
Path Finder

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.

Xiangning_Mao
Path Finder

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".

URL: https://docs.appdynamics.com/appd/22.x/latest/en/application-monitoring/configure-instrumentation/da...

Then you can get results by using "Searches" in Analytics.
Here are some documents about how to use Analytics.
Configure Transaction Analytics:

URL: https://docs.appdynamics.com/appd/22.x/latest/en/analytics/configure-analytics/collect-transaction-a...

Searches in Analytics:

URL: https://docs.appdynamics.com/appd/22.x/latest/en/analytics/using-analytics-data/search-analytics-dat...

Custom Method Invocation Data

URL: https://docs.appdynamics.com/appd/22.x/latest/en/analytics/adql-reference/adql-data/analytics-transa...

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

Xiangning_Mao
Path Finder

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

0 Karma

Christopher_Oje
Explorer

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.  

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...