AppD Archive

HTTP Request Data Collector

CommunityUser
Splunk Employee
Splunk Employee

I am trying to collect data for a given http POST request, I am chhosing "ALL *" in my data collector setup.
When viewing data collectors for that business transaction, I am not able to find request body/payload, is there a way for HTTP data collector to collect request payload? Or I am missing something!

Thanks,

Hossam

Ashish_Singh
Communicator

Hi,

Whenever you are creating the Http Request Data Collector, you need to give the specifc HTTP Parameters as (display name and Parameter Name).eg: display name could be arrayDisplayName and Parameter Name could be array.

you can also collect the cokkies value etc as per you requirements.

if you want to collect the data related to the parameter of your method, then you can crete the MIDC (method invocation data collector) on your class and method.

Thanks,

Ashish.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I don't know what should I use as a paramter name to get post request payload, considering below HTTP POST request: 

POST http://acme.local.com/api/employees HTTP/1.1
Host: acme.local.com
Content-Length: 59
content-type: application/xml

<Employee>
<Name>name</Name>
<ID>1</ID>
</Employee>

Employee is the request body that I am trying to collect, should I add an http parameter name of type Employee? what if I that request body is changing, should I update my data collector any time the name change?  

I thought having ALL as parameter name would collect all http request parameters, including request body, isn't it the case?

Thanks!

0 Karma
Get Updates on the Splunk Community!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...