Splunk AppDynamics

Creating different BT for suburl

Hasan_Basri
New Member

Hello,

I have a URL with proper business transaction definition, lets call it '/foo'. I'm able montior it well.

I want to monitor another URL which is '/foo/bared' but when I try to create a business transaction and check for live preview, it is masked by the parent URL (/foo) so it doesn't hit to the seperate BT. Is there a way to achieve this?

I tried also creating a custom service endpoint, but I don't see it in service endpoints home page, there is again the parent URL (/foo).

Regards.

Labels (3)
Tags (2)
0 Karma

Morelz
Motivator

Hi Hasan

That is very strange, it should work if you set it up as you described.

Would it be possible to provide a screenshots of your auto discovery rule, as well as the new rule you created?

Also can you provide a screenshot in live preview, using the "http requests tab" to show the 2 different URL's that are being hit on your application?

Please hide any sensitive data in the screenshots

Ciao

Morelz
Motivator

Hi Hasan

As you mention you have 2 URL's e.g

/foo

/foo/bared

When you create business transaction definitions, make sure that you use the priority settings correctly as well as your matching criteria.

I am not sure if you are using the auto-discovery Java Business transaction definition rule, or if you have created 2 BT Detection rules.

If you created 2 separate rules, double check what your matching criteria is, if you e.g say where URL starts with /foo , make sure the rule for /foo/bared, has a higher priority to ensure it takes priority, as your matching criteria might be matching both rules, and it will take the one with the highest priority first

Ciao

0 Karma

Hasan_Basri
New Member

Thanks for the reply Mario, I appreciate that. 

In my case, /foo URL is detected by auto discover I believe, since there is no specific rule for it. I only added rule for /foo/bared and adjusted the priority to '1'. Since all the others' priorities are 0, I expected the transactions to hit the rule I created, but they didn't. In live preview mode, I see my request masked by /foo BT. I have no idea why this is happening.

0 Karma
Get Updates on the Splunk Community!

Enhance Your Splunk App Development: New Tools & Support

UCC FrameworkAdd-on Builder has been around for quite some time. It helps build Splunk apps faster, but it ...

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

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