Getting Data In

Splunk add-on for New Relic -- Getting Error : ValueError: No JSON object could be decoded

jdedev
Loves-to-Learn

Hello All,
Trying to setup Splunk add-on for New Relic and getting this errors in the logs :
ValueError: No JSON object could be decoded

return _default_decoder.decode(s)
File "/opt/splunk/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/opt/splunk/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
2020-02-05 07:09:20,410 INFO pid=19395 tid=MainThread file=connectionpool.py:_new_conn:758 | Starting new HTTPS connection (1): 127.0.0.1
2020-02-05 07:09:21,302 INFO pid=19395 tid=MainThread file=connectionpool.py:_new_conn:758 | Starting new HTTPS connection (1): 127.0.0.1
2020-02-05 07:09:23,247 INFO pid=19395 tid=MainThread file=connectionpool.py:_new_conn:758 | Starting new HTTPS connection (1): 127.0.0.1
2020-02-05 07:09:25,140 INFO pid=19395 tid=MainThread file=setup_util.py:log_info:114 | Proxy is not enabled!

Lookin at the logs using this request
index=_internal newrelic sourcetype="splunk_ta_new_relic_new_relic_account_input-too_small"

Any help is much appreciated.

Regards,
Serge

Tags (2)
0 Karma

felixwawolangi1
New Member

Hi,
I had the same issue recently.
From 14th of Jan, the add-on stopped ingesting Alerts/Violation data and throwing 'ValueError: No JSON object could be decoded' errors.

Turns out that the 'Servers' API is deprecated, and if this is selected in the inputs ('API Key'), the add-on just errors out.

Try disabling that API in your input.

Regards
Felix

0 Karma
Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...