All Apps and Add-ons
Highlighted

Input Errors with Dynatrace Add-on for Splunk

New Member

We are getting the below error in the "splunk_ta_dynatrace_dynatrace_timeseries_metrics.log" log after setting up a new input in the "Dynatrace Add-on for Splunk" app and setting it up to collect a timeseries metric.

Has anyone seen this issue before or had any other issues setting up the add-on app?

 

 

2020-06-26 14:08:49,784 ERROR pid=12302 tid=MainThread file=base_modinput.py:log_error:309 | Get error when collecting events.
Traceback (most recent call last):
  File "/opt/splunk/etc/apps/Splunk_TA_Dynatrace/bin/splunk_ta_dynatrace/aob_py3/modinput_wrapper/base_modinput.py", line 128, in stream_events
    self.collect_events(ew)
  File "/opt/splunk/etc/apps/Splunk_TA_Dynatrace/bin/dynatrace_timeseries_metrics.py", line 76, in collect_events
    input_module.collect_events(self, ew)
  File "/opt/splunk/etc/apps/Splunk_TA_Dynatrace/bin/input_module_dynatrace_timeseries_metrics.py", line 179, in collect_events
    send_data()
  File "/opt/splunk/etc/apps/Splunk_TA_Dynatrace/bin/input_module_dynatrace_timeseries_metrics.py", line 130, in send_data
    data = response.json()
  File "/opt/splunk/etc/apps/Splunk_TA_Dynatrace/bin/splunk_ta_dynatrace/aob_py3/requests/models.py", line 897, in json
    return complexjson.loads(self.text, **kwargs)
  File "/opt/splunk/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/opt/splunk/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/opt/splunk/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 6 column 1 (char 5)

 

 

 

0 Karma