Under the default object in the obj.conf file, add the following line:
NameTrans fn="assign-name" name="stats-xml" from=" (/stats-xml|/stats-xml/.*)"
Add the following Service function to obj.conf:
<Object name="stats-xml">
Service fn="stats-xml"
</Object>
Add the stats-init SAF to the obj.conf.