Merge "Update to VES API v3 URL"
authorMaryam Tahhan <maryam.tahhan@intel.com>
Wed, 22 Mar 2017 19:14:18 +0000 (19:14 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Wed, 22 Mar 2017 19:14:18 +0000 (19:14 +0000)
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 '',