Solution :
Type XPath
Path /
Query //element(*, cq:AuditEvent)[@cq:type='Activate']
or Same results can be achieved with Quey Builder API
cd dir>/crx-quickstart/logs grep -R "\->" request.log | wc -l
vim request.log
G / 1G: for the last/first lines
- Use these values to calculate the number of hours that have elapsed
- since installation, then the average number of requests per hour.
For Publisher :
- How many requests per hour do you have on the publish system at peak time
Statement : find the no of authors
Solution :cd dir>/crx-quickstart/logscut -d " " -f 3 access.log | sort -u | wc -l
Find out the number of authors working on a given date:
grep "" access.log | cut -d " " -f 3 | sort -u | wc -l