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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...