Update to VES API v3 URL 59/29959/1
authorbryan <bryan.sullivan@att.com>
Tue, 7 Mar 2017 14:32:19 +0000 (06:32 -0800)
committerbryan <bryan.sullivan@att.com>
Tue, 7 Mar 2017 14:32:19 +0000 (06:32 -0800)
JIRA: VES-1

Change-Id: I76679e85cb769b87e5137b8ad2b56930c68b31fb
Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
3rd_party/collectd-ves-plugin/ves_plugin/ves_plugin.py

index a9715ad..3e30089 100644 (file)
@@ -277,7 +277,7 @@ class VESPlugin(object):
 
     def event_send(self, event):
         """Send event to VES"""
-        server_url = "http{}://{}:{}/{}eventListener/v1{}".format(
+        server_url = "http{}://{}:{}/{}eventListener/v3{}".format(
             's' if self.__plugin_config['UseHttps'] else '', self.__plugin_config['Domain'],
             int(self.__plugin_config['Port']), '{}/'.format(
             '/{}'.format(self.__plugin_config['Path'])) if (len(self.__plugin_config['Path']) > 0) else '',