All Apps and Add-ons

Why is the Splunk App for ServiceNow returning IDs in JSON format?

wegscd
Contributor

Our ServiceNow instance is actually returning a JSON structure instead of just an ID for things like assignment groups, caller ids, etc.

Our sales engineer is seeing this in his demo instance:

cmdb_ci="27e3a47cc0a8000b001d28ab291fa65b"

From our instance, I get:

cmdb_ci="{u'value': u'75bfce366fed8500f2526d6eae3ee4e5', u'link': u'https://whirlpool.service-now.com/api/now/table/cmdb_ci/75bfce366fed8500f2526d6eae3ee4e5'}"

Has anyone else seen things in the JSON format (and worked around it)?

0 Karma
1 Solution

ehaddad_splunk
Splunk Employee
Splunk Employee

Hi,

This is a defect in the TA that should be fixed in our next maintenance release.
Thanks,

View solution in original post

ehaddad_splunk
Splunk Employee
Splunk Employee

Hi,

This is a defect in the TA that should be fixed in our next maintenance release.
Thanks,

bawood
Path Finder

Any ETA on the maintenance release to fix this issue?

0 Karma

wegscd
Contributor

here's the workaround until we see the fix from Splunk:

Update line 195 in snow_data_loader.py to be:
params = "?sysparm_exclude_reference_link=true&sysparm_query={}".format(params)

By adding the sysparm_exclude_reference_link=true parameter SN returns the expected result.

wegscd
Contributor

any way to get a patch earlier? I'm dead in the water here; I either have to modify all the queries, or else go in and fix the TA myself. The fix looks straightforward....

0 Karma

wegscd
Contributor

never mind. SE forwarded patch to me.

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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...