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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...