Splunk AppDynamics

Split transactions using request data based on custom expression on HttpRequest for .NET Core

Bogdan_Parcalab
Explorer

Hi there,

I have a problem splitting transactions using request data while using custom expression on HttpRequest. My application is .NET Core running in a ECS Task.

The custom expression described here (https://docs.appdynamics.com/21.9/en/application-monitoring/configure-instrumentation/transaction-de...) does not work.

When using "${Url.ToString().Split(Char[]/-).[2]}-${UserAgent}" no transaction gets instrumented.

While it is returning "Microsoft.AspNetCore.Http.DefaultHttpRequest" when using "${Url.ToString()}".

Any ideas?

Thank you 😉

Labels (1)
0 Karma

iamryan
Community Manager
Community Manager

Hi @Bogdan.Parcalab,

Is there part of the Doc that didn't make sense, or the instructions just didn't work? If you share a bit more details, I can share this with the Docs team.

0 Karma

Bogdan_Parcalab
Explorer

Hi,

It does not work. I cannot split transactions by following the exact example from documentation!

Below two configurations does not for work for me. They are not creating any business transaction.

image.jpeg

image.jpeg

When testing with " ${Url.ToString()"} only, I got a business transaction named "<my_business_transaction_name>.Microsoft.AspNetCore.Http.DefaultHttpRequest". Like in the bellow photo, which clearly does not look like an URL.

image.jpeg

And yes, "aspdotnet-core-instrumentation=" is set to "HTTP" for the tier.

image.jpeg

What am I doing wrong here?

Can you point me to the right place in the documentation where I can learn how to split my business transactions, with custom rules based on the request URL?

Or maybe where I can see some logs, so that I can investigate the evaluation of my custom rule.

Thank you,

Bogdan

0 Karma

iamryan
Community Manager
Community Manager

Hi @Bogdan.Parcalab,

I shared your feedback with the Docs team. They are going to look into it. In the meantime, let's see if the Community can jump in and help out.

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...