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

Parsing Remote Services URL's on Java Application

We're monitoring an application with a large variety of report web services. The remote services URL's come in a wide variety.

  • Some with only a couple segments some with 5 or 6 segments
  • Some with parameters Some without 

We'd like to drop the parameters, keep the first 3 segments if they exist and keep the  "/" 's

 

Is this possible ? What would be the best way to do this ?

 

Here is an example Parse the following URL's 

so they all show up in Appdynamics like  https://ingress-tst.abc.com/componentservice

 

 

4 REPLIES 4

Mario.Morelli
Architect

Hi Bill

 

You can go into the Application, then from the Left hand Tab, select 

Configuration > Instrumentation > Backend Detection

 

If it's a Java application, select Java and then HTTP, and edit the HTTP Discovery section as below

Backend_Detection.png

 

Change the setting to use the first 3 segments

 

It will then create the following Remote Services from the sample you gave

 

 

Ciao

 



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Learn more about me in the Community Member Spotlight Q & A

Thanks Ciao,

 

They are being discovered as web services but other than that it's essentially the configuration I've just started using. I'm restricting it to the first 2 segments because I can't find a way to drop the parameters and then use the first 3 segments. 

 

I noticed your using the merge parameter. Can you tell me what that does ? I couldn't find anything in the documentation.

Hi Bill

 

Maybe I am misunderstanding your requirement. My suggestion would give you the required outcome.

 

The URL's you provided, the parameters are at the end of the URL's after the "?", so not sure what you mean by drop the parameters and then use the first 3 segments? If you could provide screenshots or some more info about what you mean that would be great(Please remove any sensitive data)

 

Regarding your second question:)

Split delimiter = The character based on which the URL is divided into parts
Merge delimiter = The character which should be used to concatenate the different parts used based on the split to form the naming of backend.(this can be anything like &, -, % etc)

 

Ciao



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Learn more about me in the Community Member Spotlight Q & A

Hi Ciao,

 

I've setup the default backend detection rule below. This is working for most of the web Service URL's 

 

Screenshot 2021-04-20 100359.png

 

For specific URL's where we need more segments The plan in to setup  a custom discovery rule. I was hoping to do this with one rule but that doesn't look possible. I think I'm good for now