Hi @David Vargas,
Is it possible to limit the size of the cs_cookie or any other OOB field in IIS logs?
As far as I know, the default field record in the log cannot be configured to limit its size, and the cookie size is 4096 bytes.
I'm not sure why you would need to limit its length, but if you need it to record more cookie data, you can try using a custom field to record it. But it also has a length limit of 65536 bytes. Just refer to this doc for more details: Custom Fields in a Log File for a Site <customFields> - Attributes.
Best regards,
Xudong Peng
If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.