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
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!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...