Forum Discussion
Global Log Receiver - Payloads
Do you have a guide for me on how to enable the API Discovery?
Also can I control how much sampling is done?
Hi GuyG ,
Guide to enable the API Discovery: https://docs.cloud.f5.com/docs/how-to/app-security/apiep-discovery-control#simple-method
We do not allow control over the sampling mechanism.
- GuyGAug 06, 2023
Altocumulus
Thank you for the reply.
I started using the API Discovery sampling but I've noticed that even when it's a log that sampled the data it could still be missing some data.
What do I mean is when it is not sampled data req_body and rsp_body are empty, req_headers is "null" and rsp_headers doesn't exist.
When it is sampled data is should be that all four have the same value from the requests and responses, but that isn't true a lot of the time.
A lot of the time even if I have the bodies, the req_headers could still be "null" or rsp_headers could be empty and vice-verse, if I have the headers I still see sometimes that the bodies are empty.
Is this a bug? Or is it on purpose sending partial data even with the API Discovery feature enabled? - Nikita_SikirinovAug 06, 2023
Employee
Thank you for bringing up the topic of the sampling mechanism in our requests and responses. I understand that there might be some confusion, so let me clarify the situation for you.
The sampling mechanism we have in place is indeed asymmetric for requests and responses. This means that it is not guaranteed that all four components (Req_header, Req_body, Res_Header, Res_Body) will always appear in the same record. In some cases, you might receive only a subset of these components in a single record, depending on the data being collected.
On the other hand, while there is asymmetry in how the data is sampled within a single record, there are symmetries in the collection of headers and body for separate requests or separate responses. This means that across multiple records, you can expect to find a balanced representation of headers and bodies for both requests and responses.
We understand the importance of obtaining comprehensive data, and we are continuously working to optimize our sampling mechanisms to improve the overall data collection process. If you have any specific requirements or concerns about the data you are receiving, please feel free to let us know, and we'll be more than happy to assist you further.
- GuyGJun 16, 2024
Altocumulus
Hey, sorry to bring up some old thread but is there any change the bodies of the request/response stopped getting sent entirely?
Before we talked about sampling but after the latest update I no longer get the bodies at all
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com