mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Add cmds to process the kustomize-stats log
This commit is contained in:
7
api/internal/crawl/cmd/log-parser/kustomize-stats-cmd
Normal file
7
api/internal/crawl/cmd/log-parser/kustomize-stats-cmd
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
wget <log-file-url> -O log
|
||||||
|
go build .
|
||||||
|
./log-parser log >out
|
||||||
|
cat out | grep "kind \`" | cut -d\` -f2 | tail -n 50
|
||||||
|
cat out | grep "kind \`" | awk '{print $6}' | tail -n 50
|
||||||
|
cat out | grep "feature \`" | grep -v "\`resources\`" | grep -v -e "\`apiVersion\`" | grep -v -e "\`apiversion\`" | cut -d\` -f2
|
||||||
|
cat out | grep "feature \`" | grep -v "\`resources\`" | grep -v -e "\`apiVersion\`" | grep -v -e "\`apiversion\`" | awk '{print $6}'
|
||||||
Reference in New Issue
Block a user