I am trying to use the Splunk Addon for New Relic v2.2.0, and I keep getting errors. I think the New Relic API has changed slightly, and I tried to edit the modalert python file, yet I'm still getting errors such as:
02-22-2022 04:52:01.962 -0500 ERROR sendmodalert - action=alerts_to_newrelic STDERR - NameError: name 'basestring' is not defined
02-22-2022 04:52:01.962 -0500 ERROR sendmodalert - action=alerts_to_newrelic STDERR - if isinstance(self.sid, basestring) and 'scheduler' in self.sid:
02-22-2022 04:52:01.962 -0500 ERROR sendmodalert - action=alerts_to_newrelic STDERR - File "/opt/splunk/etc/apps/Splunk_TA_New_Relic/bin/splunk_ta_new_relic/cim_actions.py", line 124, in __init__