[
https://issues.apache.org/jira/browse/TS-5069?focusedWorklogId=32879&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-32879
]
ASF GitHub Bot logged work on TS-5069:
--------------------------------------
Author: ASF GitHub Bot
Created on: 03/Dec/16 23:03
Start Date: 03/Dec/16 23:03
Worklog Time Spent: 10m
Work Description: GitHub user zwoop opened a pull request:
https://github.com/apache/trafficserver/pull/1246
TS-5069: Fixes CID 1366771 and 1366771
These might be older, but this last batch of commits in TS-5069 triggers
Coverity.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zwoop/trafficserver TS-5069
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/1246.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1246
----
commit e75112262cbc37886ac4e0f01221f767365a95be
Author: Leif Hedstrom <[email protected]>
Date: 2016-12-03T23:02:36Z
TS-5069: Fixes CID 1366771 and 1366771
----
Issue Time Tracking
-------------------
Worklog Id: (was: 32879)
Time Spent: 2.5h (was: 2h 20m)
> logstats: add ability to report stats per user instead of host
> --------------------------------------------------------------
>
> Key: TS-5069
> URL: https://issues.apache.org/jira/browse/TS-5069
> Project: Traffic Server
> Issue Type: Bug
> Components: Logging, Tools
> Reporter: Gancho Tenev
> Assignee: Gancho Tenev
> Fix For: 7.1.0
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> We would like to enhance {{traffic_logstats}} with the ability to report
> stats per user instead of host (from the URI).
> Currently the {{traffic_logstats}} expects a binary squid log format defined
> in the following ATS log config and aggregates and reports stats per the
> authority part of the URI ({{host:port}} in an usual use-case)
> {code}
> <Format = "%<cqtq> %<ttms> %<chi> %<crc>/%<pssc> %<psql> %<cqhm> %<cquc>
> %<caun> %<phr>/%<pqsn> %<psct>"/>
> {code}
> It would be useful for our use-case to be able aggregate and report stats
> based on the 8th squid log field which is an username of the authenticated
> client {{%<caun>}}).
> In our use-case we need to aggregate and report stats per
> CDN-customer-specific-tag.
> For example the new functionality would allow us to replace {{%caun}} with a
> random header content {{%<\{@CustomerTagHeader\}cqh>}} and report stats per
> CDN customer by using a new command line parameter {{--report_per_user}} w/o
> adding extra fields to the binary squid format log expected by
> {{traffic_logstats}} and keep it backward compatible with the previous
> version.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)