Splunk ITSI

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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...