Troubleshoot issues related to service import
Troubleshoot issues that may occur before or after using a service import module in a content pack.
This topic describes how to troubleshoot the following issues that may occur during or after using a service import module:
Service doesn’t have entity rules even though its service template does
Troubleshoot a published or unpublished service that is missing entity rules.
This issue may affect published services as well as unpublished services viewed in the service sandbox.
When a service is selected on the Service and KPI management page or service sandbox, the Entities tab doesn't show any entity rules even though the linked service template has entity rules.
The service template title in ITSI differs from the service_template value provided in fetch_services_spl in the itsi_service_import_flow_data.conf file. As a result, the service template wasn't linked to the service.
To resolve this issue, you can either update the service template title in ITSI or update the service_template value in the itsi_service_import_flow_data.conf file.
Service doesn’t have a linked service template
Troubleshoot a published or unpublished service that is missing a linked service template.
On the Service and KPI Management page, the Service Template column for the service has a value of Not linked.
The service template title in ITSI differs from the service_template value provided in fetch_services_spl in the itsi_service_import_flow_data.conf file. As a result, the service template wasn't linked to the service.
To resolve this issue, you can either update the service template title in ITSI or update the service_template value in the itsi_service_import_flow_data.conf file.
Service has an entity rule with an empty value
Troubleshoot a published or unpublished service that has an incomplete entity rule.
This issue may affect published services as well as unpublished services viewed in the service sandbox.
When a service is selected on the Service and KPI management page or service sandbox, the Entities tab shows an entity rule with an empty value for matches.
The service template was updated and saved with the Overwrite entity rules setting enabled. This setting resets entity rules to have empty values.
- If you already published the services, delete them:
- From the ITSI main menu, select .
- Check the boxes for the services.
- Select
- Re-import the services to link them to the service template:
- From the ITSI main menu, select .
- Select the Content library tab.
- Select your content pack.
- Select the Service import modules tab.
- Select and complete the service import module for the services you want to re-import.
Service import module runs slowly or times out when loading services
Troubleshoot an slow or unresponsive service import module in a content pack.
On the service import module, the Select Services screen runs slowly or times out while loading the list of services that can be imported.
In the itsi_service_import_flow_data.conf file, the fetch_services_lookback parameter controls the time range for the search that fetches services. By default, this parameter is set to -7d (7 days). If you have a large volume of data, the default time range may affect search performance when fetching services in the service import module.
- Open the
itsi_service_import_flow_data.conffile for the content pack. - Adjust the
fetch_services_lookbackvalue to a shorter range. For example, you can change the value from-7dto-24h(last 24 hours). - Restart Splunk Enterprise or reload the
.conffile for the changes to take effect.