Splunk IT Service Intelligence

Why am I getting Splunk IT Service Intelligence import error "datamodel model of KPI invalid, datamodel field must be a non-empty string"?

MacbethX
Splunk Employee
Splunk Employee

Does anyone know why I'm getting this ITSI import error?

failed to import services from a successful backup. 
details  : main machine was windows, remote. Json was correctly created with no unusual errors. On import, on mac, everything imports (glass tables, etc) EXCEPT services.... with the following error
2016-04-13 18:39:49,722 ERROR [itsi.kvstore.operations] [kvstore_backup_restore] [_write_data_to_collection] datamodel model of KPI invalid, datamodel field must be a non-empty string
Traceback (most recent call last):
File "/Applications/Splunk/etc/apps/SA-ITOA/lib/itsi/upgrade/kvstore_backup_restore.py", line 290, in _write_data_to_collection
itoa_common.save_batch(write_instance, self.username, data, no_batch, self.dupname_tag)
File "/Applications/Splunk/etc/apps/SA-ITOA/lib/ITOA/itoa_common.py", line 448, in save_batch
itoa_object.save_batch(owner, data_list, True, dupname_tag)
File "/Applications/Splunk/etc/apps/SA-ITOA/lib/ITOA/itoa_object.py", line 217, in save_batch
self.do_additional_setup(owner, valid_data_list, method=method)
File "/Applications/Splunk/etc/apps/SA-ITOA/lib/itsi/objects/itsi_service.py", line 674, in do_additional_setup
generated_kpi_searches = itsi_searches.gen_kpi_searches(gen_alert_search = True)
File "/Applications/Splunk/etc/apps/SA-ITOA/lib/itsi/searches/itsi_searches.py", line 911, in gen_kpi_searches
gather_filter_search = self.get_filtered_event_search()
File "/Applications/Splunk/etc/apps/SA-ITOA/lib/itsi/searches/itsi_searches.py", line 586, in get_filtered_event_search
self._get_filtered_event_search_parts(search_parts)
File "/Applications/Splunk/etc/apps/SA-ITOA/lib/itsi/searches/itsi_searches.py", line 565, in _get_filtered_event_search_parts
self._validate_datamodel_model(datamodel_model)
File "/Applications/Splunk/etc/apps/SA-ITOA/lib/itsi/searches/itsi_searches.py", line 464, in _validate_datamodel_model
raise ve
ValueError: datamodel model of KPI invalid, datamodel field must be a non-empty string
0 Karma

ntankersley_spl
Splunk Employee
Splunk Employee

Are you currently using any datamodels for any of your KPI searches?

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...