Configure a Splunk integration
The Red Hat Insights (Red Hat Lightspeed) application for Splunk forwards selected Hybrid Cloud Console events to Splunk.
The application seamlessly integrates with the Hybrid Cloud Console, so that you can focus on handling the data on the Splunk application side in the same way that you manage other sources of data. After the integration has been configured, you can view and manage Hybrid Cloud Console notifications from the Splunk dashboard without having to open the Red Hat Hybrid Cloud Console.
If you have any issues with the Red Hat Insights application for Splunk, contact Red Hat for support. To open a Red Hat support case directly from the Hybrid Cloud Console:
- Click Help (the ? icon) to open the help panel.
- Select the My support cases tab.
- Click Open a support case and add information about the issue.
Splunk will not provide troubleshooting. The Red Hat Insights application for Splunk is fully supported by Red Hat.
Install the Red Hat Lightspeed application for Splunk Copy linkLink copied!
Install and configure the Red Hat Insights (Red Hat Lightspeed) application for Splunk to integrate Splunk with the Hybrid Cloud Console so that Splunk can receive event notifications from the Hybrid Cloud Console. The setup automation performs the following tasks:
Before you begin Copy linkLink copied!
- You have Organization Administrator permissions for the Hybrid Cloud Console.
- You have Splunk login credentials:
- To install applications on Splunk Cloud Platform, you must have the Splunk Cloud Administrator
sc-adminrole. - To install applications on Splunk Enterprise, you must have the
adminrole. For more information about creating theadminrole, see Create secure administration credentials in the Splunk documentation.
- To install applications on Splunk Cloud Platform, you must have the Splunk Cloud Administrator
- Popup blockers are disabled in your browser.
- Creates a user group with the Notifications administrator role using Organization Administrator permissions. You can also create the user group manually. For more information about manual configuration, see manually-configure-notif-admin-group.dita#proc-notif-splunk-manual-config-admin.
- Uses the Splunk HEC URL and HEC token to create a new integration called SPLUNK_AUTOMATION, with the integration type Splunk.
- Creates a new behavior group called SPLUNK_AUTOMATION_GROUP on the RHEL bundle. The group includes an action to send notifications to the SPLUNK_AUTOMATION Splunk integration.
- Assigns the new behavior group SPLUNK_AUTOMATION_GROUP to all Hybrid Cloud Console services. This forwards the events from all services to Splunk. Currently, the behavior group forwards events from the Advisor, Policies, Drift, Compliance, Malware Detection, Patch, and Vulnerability services.
When Splunk begins to receive notifications from the Hybrid Cloud Console, the Red Hat Insights application for Splunk dashboard shows event activity. Each number contains a hyperlink to the Hybrid Cloud Console.
Procedure Copy linkLink copied!
Enable the HEC token Copy linkLink copied!
Before Splunk can receive Hybrid Cloud Console events, you must enable the HEC token. For more information about the HEC token in Splunk Cloud, see Configure HTTP Event Collector on Splunk Cloud Platform in the Splunk documentation.
Before you begin Copy linkLink copied!
- You have Organization Administrator permissions for the Hybrid Cloud Console.
- You have Splunk login credentials:
- On Splunk Cloud Platform, you must have the Splunk Cloud Administrator
sc-adminrole. - On Splunk Enterprise, you must have the
adminrole. For more information about creating theadminrole, see Create secure administration credentials in the Splunk documentation.
- On Splunk Cloud Platform, you must have the Splunk Cloud Administrator
Procedure Copy linkLink copied!
Manually configure a Notifications administrator group in your account Copy linkLink copied!
The Red Hat Insights (Red Hat Lightspeed) application for Splunk automated installation and setup process automatically configures a Notifications administrator role and group in your Hybrid Cloud Console account. However, you can create the Notifications administrator manually.
Before you begin Copy linkLink copied!
- You are logged in to the Hybrid Cloud Console with the Organization Administrator role.
Note You cannot log in to the Hybrid Cloud Console with your email address unless your email address is the same as your Red Hat login. For more information, see ../get-started/access-hcc.dita#finding-login.
Procedure Copy linkLink copied!
- Click Settings > Identity & Access Management.
- Under Identity & Access Management, expand User Access if necessary, and select Groups.
- Click Create group. The Name and description page appears.
-
Enter a name for the group (for example,
splunknotifgroup), enter a description, and then click Next. The Add roles page opens. -
To add the Notifications administrator role, enter
notifin the search box. - Select Notifications administrator from the search results list, and then click Next. The Add Members page opens.
- Select the users to add to this group. You can use the search box to search for specific names.
- Click Next. The Review Details page opens.
- Review the information, and then click Submit to create the group.
- Click Exit. The Groups page opens.
What to do next Copy linkLink copied!
Verify your group:
- Enter the new group name in the search box.
- Click the group name. The page for the group opens.
- On the Roles tab, verify that the group has the Notifications administrator role.
- Click the Members tab and verify that the group includes the correct members.
Manually configure a Splunk integration Copy linkLink copied!
The Red Hat Insights (Red Hat Lightspeed) application for Splunk automated installation and setup process automatically configures Splunk integration to your Hybrid Cloud Console account. Use this procedure if you want to configure the integration manually.
Before you begin Copy linkLink copied!
- You have an HTTP Event Collector (HEC) URL from Splunk Cloud or Splunk Enterprise.
- You have the HEC token value from Splunk Cloud or Splunk Enterprise.
- You are logged in to the Hybrid Cloud Console with the Notifications administrator role.
Note You cannot log in to the Hybrid Cloud Console with your email address unless your email address is the same as your Red Hat login. For more information, see ../get-started/access-hcc.dita#finding-login. - Your Splunk instance has an SSL certificate that is signed by a globally trusted certificate authority (CA).
- Your Splunk instance must be accessible to the Red Hat IP addresses listed in ../troubleshoot/troubleshoot-connection-ip-address.dita#ref-if-address-troubleshooting.
Procedure Copy linkLink copied!
- In the Hybrid Cloud Console, navigate to Settings > Integrations.
- Select the Reporting & Automation tab.
- Click Add integration.
- Select Splunk as the integration type, and then click Next.
-
Enter a name for your new integration in the Integration name field (for example,
redhat_splunk). -
In the Endpoint URL field, add your Splunk HEC endpoint URL:
- In the Secret token field, add the Splunk HEC token value.
- Click Next.
- Review the integration details and click Submit.
Update the Red Hat Lightspeed application for Splunk Copy linkLink copied!
To update the Red Hat Insights (Red Hat Lightspeed) application for Splunk, the procedure is similar to the steps required for the initial installation. These steps ensure the application is properly set up with your environment after the update.
Before you begin Copy linkLink copied!
- You have Organization Administrator permissions for the Hybrid Cloud Console.
- You have Splunk login credentials:
- To install applications on Splunk Cloud Platform, you must have the Splunk Cloud Administrator
sc-adminrole. - To install applications on Splunk Enterprise, you must have the
adminrole. For more information about creating theadminrole, see Create secure administration credentials in the Splunk documentation. - You have a Splunkbase account.
- To install applications on Splunk Cloud Platform, you must have the Splunk Cloud Administrator
- You have the Red Hat Insights application installed on Splunk.
- Popup blockers are disabled in your browser.