All Apps and Add-ons

Splunk Add-on for ServiceNow: Why am I getting "KeyError: 'priority' - Exception: Failed to get service_now.conf" during setup?

nareshvanka
New Member

getting the following while adding for the Splunk Add-on for ServiceNow. no incidents flowing as expected, here the below error

Any suggestions?

splunk_ta_snow_main file logs and error:

2019-12-13 16:31:58,055 WARNING pid=14920 tid=MainThread file=snow.py:stream_events:329 | Remove collection_interval, since_when, record_count, disable_ssl_certificate_validation from 'snow_default' stanza of C:\Program Files\Splunk/etc/apps/Splunk_TA_snow/local/service_now.conf as parameter(s) no longer used. Remove url, username, password from 'snow_account' stanza of C:\Program Files\Splunk/etc/apps/Splunk_TA_snow/local/service_now.conf as parameter(s) no longer used.
2019-12-13 16:32:09,482 INFO pid=14920 tid=MainThread file=snow_job_factory.py:create_job:71 | Creating job to collect data from table incident for input incident
2019-12-13 16:33:01,486 ERROR pid=14920 tid=MainThread file=snow.py:stream_events:480 | Error Traceback (most recent call last):
File "C:\Program Files\Splunk\etc\apps\Splunk_TA_snow\bin\snow.py", line 477, in stream_events
data_loader.run()
File "C:\Program Files\Splunk\etc\apps\Splunk_TA_snow\bin\framework\data_loader.py", line 78, in run
(sleep_time, jobs) = scheduler.get_ready_jobs()
File "C:\Program Files\Splunk\etc\apps\Splunk_TA_snow\bin\framework\job_scheduler.py", line 64, in get_ready_jobs
ready_jobs.sort(key=lambda job: job.get("priority"), reverse=True)
File "C:\Program Files\Splunk\etc\apps\Splunk_TA_snow\bin\framework\job_scheduler.py", line 64, in
ready_jobs.sort(key=lambda job: job.get("priority"), reverse=True)
File "C:\Program Files\Splunk\etc\apps\Splunk_TA_snow\bin\snow_job_factory.py", line 57, in get
return self._config[key]
KeyError: 'priority'

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!