2.4. Subscription Asset Manager: Organzational Usage Reports (TECH PREVIEW)
Important
2.4.1. Prerequisites
- All of the other Subscription Asset Manager installation prerequisites
- The
cronservice must be running. - An additional 4 GB of disk space for the reporting database.
- Additional packages for the reporting server
- splice
- ruby193-rubygem-splice_reports
- spacewalk-splice-tool
2.4.2. Setting up Reporting
yum:
[root@server ~]# yum install splice ruby193-rubygem-splice_reports spacewalk-splice-tool
2.4.3. Creating Report Filters
- The organizations to check for the report
- The subscription statuses to include
- The date range to check; this looks for systems which had the status within the given range, which may not necessarily be the current status for the system
Note
- All systems that have changed to invalid or insufficient (status) in the past 24 hours.
- All systems that will have invalid or insufficient subscriptions (meaning, the existing subscriptions will expire) within the next three months.
- Click the Reports item in the administration menu.

- In the left column, click the New Filter link.
- Fill in the required information for the report, including the organizations, statuses, date range, and active states.

- Click the button.
Note
2.4.4. Running Reports
- Click the Reports item in the administration menu.
- In the left column, click the name of the report filter to run.
- Scroll to the bottom of the report page, and click the button.
Alternatively, the report results can be exported to a CSV file instead of being rendered in the Subscription Asset Manager UI. To export the data, click the button.The data are exported to a CSV file and, optionally, a JSON file which contains the system details. These files are contained in a ZIP archive namedreport-YEAR-MONTH-DAY-TIMESTAMPZ.zip.Note
Selecting the Encrypt export checkbox means that the exported CSV and JSON files are encrypted and can only be accessed by a private key used by Red Hat support.
2.4.5. Subscription Asset Manager Reports Results and Data

Figure 23. The Reports Results

Figure 24. The Reports Results: System Details
_id, record, CHECK-IN TIME, STATUS, DB ID, SATELLITE SERVER, HOSTNAME, ORGANIZATION, LIFECYCLE STATE,
{"ident"=>"072c8bdd-ca00-43d4-a000-0887c75b90c8"}, 522e0970af5d242094000002, 2013-09-09T14:23:27Z, "Current", "072c8bdd-ca00-43d4-a000-0887c75b90c8", "sam-server.example.com", "server.example.com", "ACME_Corporation", "Active",[{"_id":{"$oid":"522e0970af5d242094000002"},"_types":["MarketingProductUsage"],"instance_identifier":"072c8bdd-ca00-43d4-a000-0887c75b90c8","updated":"2013-09-09T17:46:24Z","splice_server":"sam13-dlackey-demo","name":"server.example.com","facts":{"memory_dot_memtotal":"3780964", ...2.4.6. Enhanced Reporting Logs
By default, enhanced reporting takes up to 200 MB of additional log space on a system. Logs grow at roughly 750 KB per system per month.
/etc/splice/logging/basic.log.
All of the errors, messages, and operations for the sync tool are recorded in a specific tool log at /var/log/splice/spacewalk_splice_tool.log

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.