[
https://issues.apache.org/jira/browse/TS-3446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14367857#comment-14367857
]
Sudheer Vinukonda commented on TS-3446:
---------------------------------------
Perhaps, Leif is referring to log slicing, which is based on offsets.
https://docs.trafficserver.apache.org/en/latest/admin/event-logging-formats.en.html?highlight=custom%20log#log-field-slicing
If it's acceptable, slicing can be enhanced to support parsing based on tokens
(along with offsets).
> custom logging for Cookie header
> --------------------------------
>
> Key: TS-3446
> URL: https://issues.apache.org/jira/browse/TS-3446
> Project: Traffic Server
> Issue Type: Improvement
> Components: Core
> Reporter: Scott Beardsley
> Priority: Minor
>
> I have a use case that requires logging a specific cookie in the UA request.
> The only way to do this today is to log the entire Cookie request header then
> parse out the cookie name/value pair that I am interested in after the fact.
> The problem with that approach is that some cookie data is sensitive and must
> not exist in logs. Plus logging the entire cookie header is just wasteful.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)