Generating Advisor Service Reports
Share reporting from advisor about the conditions affecting your RHEL infrastructure.
Abstract
Chapter 1. Overview of Insights for Red Hat Enterprise Linux advisor service reporting
The advisor service enables the following ways to share the status of your Red Hat Enterprise Linux (RHEL) infrastructure:
- Export and download a report in CSV, JSON, or YAML file format showing recommendations for your impacted RHEL systems, and share the information with strategic stakeholders.
- Subscribe to the advisor Weekly Report email to receive a brief summary of the health of your RHEL environment.
- Download an executive report to share a high level overview of your infrastructure with an executive audience.
These methods enable a quick and easily accessible way for you or other stakeholders to assess the health of your infrastructure and plan or act accordingly.
Chapter 2. Insights for Red Hat Enterprise Linux advisor service data export
Users of the advisor service can export a report in either JSON or CSV format that shows the recommendations impacting each of your registered systems. Exported reports include the following information:
- Host name
- Inventory UUID for the host
- RHEL version
- Date and time of the last data upload from this host to Insights for Red Hat Enterprise Linux
- Title of the recommendation impacting the host
- Link to the solution for this recommendation
- Total risk posed by this recommendation (from 1 to 4; 1 means low risk, 4 means high risk)
- Likelihood of this recommendation being active on your registered systems (from 1 to 4 = 1 means unlikely; 4 means highly probable)
- Date this recommendation was published
- Link to the scan results for this host
2.1. Exporting reports using the advisor service
To export a report using the advisor service, complete the following steps:
- Navigate to the Red Hat Enterprise Linux > Advisor > Recommendations page and log in if necessary.
- Apply filters as needed to refine results.
- Click the Download icon located to the right of the Search box in the toolbar.
- Select either Export to CSV or Export to JSON depending on your preference.
- In the dialog box, select Open with and specify an application with which to open the file, or click Save File and click OK.
2.2. Exporting advisor service data using the API
Use the advisor service API to export data in one of the following ways:
For CSV file type
Request URL:
Curl
curl -X GET "https://cloud.redhat.com/api/insights/v1/export/hits.csv" -H "accept: */*"
For JSON file type
Request URL:
Curl
curl -X GET "https://cloud.redhat.com/api/insights/v1/export/hits.json" -H "accept: application/json"
API documentation for all of the Red Hat Insights for Red Hat Enterprise Linux services is available at https://cloud.redhat.com/docs/api.
Chapter 3. Insights for Red Hat Enterprise Linux advisor service weekly-report email subscription
The advisor service Weekly Report email provides a quick view of the health of your environment. Subscribing to the email is optional and requires that you opt in using the settings in the advisor service. The email is informative yet unobtrusive; all of the included information can be consumed at a glance.
The email is sent every Sunday night (United States Eastern Standard Time, UTC -05:00; Easter Daylight Time, UTC-4:00) to the email address associated with your individual Red Hat Customer Portal user account, allowing you to begin your week informed. When you opt in, your subscription preference will apply only to yourself, and not everyone in your organization.
The email provides the following information about systems registered to your account:
- Number of critical rule hits in your infrastructure
- Number of impacted systems in your infrastructure
- Total number of recommendations impacting your infrastructure
3.1. Subscribing to the advisor service Weekly Report email
You must subscribe to the weekly email in order to receive it.
Procedure to subscribe to the Weekly Report email
Use the following procedure to subscribe to the advisor Weekly Report email.
- Navigate to the Red Hat Enterprise Linux > Advisor > Recommendations page and log in if necessary.
Click the down arrow to the right of your name and click User preferences.
Under the Email subscriptions heading, next to Insights, check the Weekly Report check box.
- Click Submit.
You will receive the email each Sunday night from sender, Red Hat Insights noreply@redhat.com, with the subject line, Weekly Insights summary report.
To unsubscribe, follow the procedure above and clear the Weekly Report check box.
Chapter 4. Insights for Red Hat Enterprise Linux advisor service executive report
You can download a high-level report summarizing the status of your infrastructure and designed for an executive audience. Executive reports are one to two-page PDF files showing the following information:
- Identified recommendations by severity
- Recently identified recommendations by category
- Top three recommendations in your infrastructure based on the greatest total risk and the greatest number of systems exposed
4.1. Downloading an advisor service executive report
Use the following procedure to download an executive report from the advisor service.
Procedure
- Navigate to the Red Hat Enterprise Linux > Advisor > Recommendations page and log in if necessary.
- Located in the upper-right corner of the Recommendations page, click the Download executive report link.
- Select to open or save the file and click OK.
- If downloaded, check your download location for the PDF file.
Chapter 5. Enabling notifications and integrations
You can enable the notifications service on Red Hat Hybrid Cloud Console to send notifications whenever the advisor service detects an issue and generates a recommendation. Using the notifications service frees you from having to continually check the Red Hat Insights for RHEL dashboard for recommendations.
For example, you can configure the notifications service to automatically send an email message whenever the advisor service generates a recommendation.
Enabling the notifications service requires three main steps:
- First, an Organization Administrator creates a User access group with the Notifications administrator role, and then adds account members to the group.
- Next, a Notifications administrator sets up behavior groups for events in the notifications service. Behavior groups specify the delivery method for each notification. For example, a behavior group can specify whether email notifications are sent to all users, or just to Organization administrators.
- Finally, users who receive email notifications from events must set their user preferences so that they receive individual emails for each event.
In addition to sending email messages, you can configure the notifications service to send event data in other ways:
- Using an authenticated client to query Red Hat Insights APIs for event data
- Using webhooks to send events to third-party applications that accept inbound requests
- Integrating notifications with applications such as Splunk to route advisor recommendations to the application dashboard
Additional resources
- For more information about how to set up notifications for Advisor recommendations, see Red Hat Insights Notifications.
Providing feedback on Red Hat documentation
We appreciate your feedback on our documentation. To provide feedback, highlight text in a document and add comments.
Prerequisites
- You are logged in to the Red Hat Customer Portal.
- In the Red Hat Customer Portal, the document is in the Multi-page HTML viewing format.
Procedure
To provide your feedback, perform the following steps:
Click the Feedback button in the top-right corner of the document to see existing feedback.
NoteThe feedback feature is enabled only in the Multi-page HTML format.
- Highlight the section of the document where you want to provide feedback.
Click the Add Feedback pop-up that appears near the highlighted text.
A text box appears in the feedback section on the right side of the page.
Enter your feedback in the text box and click Submit.
A documentation issue is created.
- To view the issue, click the issue link in the feedback view.