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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...