AppD Archive

Naming Transaction using POST parameters

CommunityUser
Splunk Employee
Splunk Employee

Hi, 

I am trying to name business transactions by POST parameters passed in every page.

I've configured transaction naming to capture parameter value in transactions names but its not working.

Please help me for the same

Regards,

Prathamesh

0 Karma

Arun_Dasetty
Super Champion

Hi Prathamesh,

We have known design change where servlet rules on HTTP POST parameters as part of match conditions may not for certain cases , and this changes made in recent agent versions for good reasons, But we would like to check if we are hitting known case here or not post valiating few things here, Hope that is fine with you.

Can you please send us the agent logs (refer screenshot below for steos to collect logs from ui) for node on which we are expecting the load to part of rule? 

image.png

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi,

Theses parameters are passed as form data.

PFA the screenshot from developer tool.

image.png

0 Karma

Arun_Dasetty
Super Champion

Hi Prathamesh,

Can you try below node boolean property set to true value and see how it goes, we do not recommend to use below property in production so request you to try first in QA/Test instance first :

use-old-servlet-split-for-get-parm-value-rule 

refer doc for steps to update node property: 

https://docs.appdynamics.com/display/PRO41/App+Agent+Node+Properties

We suggested above as we see below in logs:

========================

[WebContainer : 0] 07 Sep 2015 15:53:34,057 WARN ServletInterceptor - A Transaction was not created because application did not call ServletRequest Parameters method. Rule = Servlet RuleHTTP Method [null]Servlet Class Name [null]Servlet Name [null]URI [null]Host [null]Port [null]Rule Properties [{segment-length=5, uri-suffix-scheme=param-value, suffix-key=fldAppId,fldTxnId,fldScrnSeqNbr, uri-length=first-n-segments}] Servlet URI = /netbanking/entry
[WebContainer : 3] 10 Sep 2015 11:03:08,432 WARN ServletInterceptor - A Transaction was not created because application did not call ServletRequest Parameters method. Rule = Servlet RuleHTTP Method [null]Servlet Class Name [null]Servlet Name [null]URI [null]Host [null]Port [null]Rule Properties [{segment-length=5, uri-suffix-scheme=custom-expression, suffix-key=${getRequestURI()}-${getMethod()}-${getParameter(fldAppId)}-${getParameter(fldScrnSeqNbr)}-${getParameter(fldTxnId)}, uri-length=first-n-segments}] Servlet URI = /netbanking/entry

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

 Hi,

Thanks for your reply.

PFA the agent logs for which I've applied transaction naming rule.

Regards,

Prathamesh

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...