Export Shadow Statistics

Last modified 27 Oct 2025 12:30 +01:00

Export shadow statistics command allows users to export statistics about shadow objects. In particular, it exports counts of shadow objects grouped by resource, object class, kind and intent.

All exported statistics are intentionally approximations. Counts of objects are given in the form of scale as the maximum number in that particular scale "level".

Table 1. Count scale example
Exact count Approximate value

1

99

10

99

100

999

998

999

1004

9999

Statistics can be exported to SYSOUT or to file (-o, --output). Use -O, --overwrite switch if you wish to overwrite an existing output file.

Note: this command is not supposed to run in multiple threads, therefore do not modify the default threading settings which is set to 1 by default (--multi-thread, -l options).

Example: export statistics into output.xml file
ninja.sh export-shadow-statistics --output output.xml
Was this page helpful?
YES NO
Thanks for your feedback