AppD Archive

way to show query string from errors from PHP monitor agent

CommunityUser
Splunk Employee
Splunk Employee

Hello All,

We have many PHP Agents running and it is difficult to troubleshoot when an error occurs because the error transactions tab only shows "/login.php" instead of "/login.php?something=?&something1=?"

Is there a way to enable this to occur across the board?

Thanks

0 Karma

Arun_Dasetty
Super Champion

Hi ,

While PHP team got chance to look into this, Can you see if the following information helps:

- We see this could be due to default settings/naming config for PHP entry point is URI and URI does not include http parameters in BT naming as listed below and we can only name using particular http parameter as split but not all http parameters can be viewed in BT name.

image.png

- Can you define HTTP data collectors for http parameter you would like as referred in below screenshot and see how it goes, provide asterish * as HTTP parameter name to capture all http parameters and make sure you associate PHP BT "/login.php" to the HTTP collector define and see "HTTP parameters" seciton for snapshot discovered after new load generated.

image.png

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

thank you for the suggestion however I dont see where changes to the first image go into effect.  I do not see where "Use the full URI" is actually showing anything differently.

I am able to see an exploded view of HTTP parameters adding an asterisk in http parameters.  But how am I able to get a query string parameters in the form of http://www.website.com/index.php?arg1=something&arg2=something or even index.php?arg1=something&arg2=something would be great.

0 Karma

Arun_Dasetty
Super Champion

Hi,

Business transactions will not contain http parameters because they are not part of URI segments, you would need to select option "Name transactions dynamically.." checkbox and provide http parameter name in "parameter" field for which you want to split BT name by parameter value as stated in doc link:

https://docs.appdynamics.com/display/PRO39/Configure+Web+PHP+Entry+Points#ConfigureWebPHPEntryPoints...

Check if that information helps.

Regards,

Arun

0 Karma
Get Updates on the Splunk Community!

Operationalizing TDIR: Building a More Resilient, Scalable SOC

Optimizing SOC workflows with a unified, risk-based approach to Threat Detection, Investigation, and Response ...

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...