Splunk AppDynamics

HTTP Data Collector - How to know the HTTP Params name

CommunityUser
Splunk Employee
Splunk Employee

My Question is simmilar to this question.

I couldn't follow the documentation and wasn't able to figure out how to define the HTTP params in an HTTP Data Collector.

I have a .net web API which has method signature like the following code. Also, the method can be used over Get & POST. The Parameters can be passed in the request body as a JSON in the POST request or over the url in a Get Request. What should be HTTP parameter name in these situations? Does it refers to the parameters of JSON body?

public HttpResponseMessage MethodName(HttpRequestMessage request)

public IHttpAsyncResult MethodName(HttpRequestMessage request)

Is it simmilar to HttpRequest.Params property which contains QueryString, Form, Cookies, and ServerVariables items ?

 

 

Labels (1)
0 Karma
1 Solution

Ashish_Singh
Communicator

Hi Abhinav,

Yes, all the HTTP paramter which you are seeing after configuring Parameter, are basically represent the NameValue paire collection of HttpRequest.Params property.

View solution in original post

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I have been able to see all the request Parameters using the Parameter.

However, i need a confirmation from the team if it is correct to assume that HTTP Parameters would represent HttpRequest.Params property which contains QueryString, Form, Cookies, and ServerVariables items?

0 Karma

Ashish_Singh
Communicator

Hi Abhinav,

Yes, all the HTTP paramter which you are seeing after configuring Parameter, are basically represent the NameValue paire collection of HttpRequest.Params property.

0 Karma

Ashish_Singh
Communicator

Hi Abhinav,

 

Thanks for contacting support.

 

If I understand correctly from the context, do you want capture the values of the properties defined under the HttpRequestMessage class from your request ? If yes. then you can configure the Method invocation data collector on the Class /MethodName to extract the values from the request object.

 

For more details for the Method invocation data collector, please refer the below document.

https://docs.appdynamics.com/display/PRO43/Data+Collectors

 

If you want to collect the HTTP parameter passed over the request in the specific BT, then you can configure the HTTP request data collector and for this you can first verify what are the parameters passed over the request,  through below configuration  under the HTTP request data collector section. 

 

Display Name = HTTP All
HTTP Parameter Name = *

Please refer the screenshot attached, how the result will come.

 

You can review the all the available HTTP Parameter and then define the parameter separately as per your scenarios

 

Please let us know, if i misunderstood anything or you have any question.

 

Thanks,

Ashish.

 

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