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
Loves-to-Learn

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
Get Updates on the Splunk Community!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...