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
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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...