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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...