Index browbeat-config

This is a quick fix to add our browbeat-config as metadata.

Change-Id: I7044e814af19f4ab150444d5382334774de8287a
This commit is contained in:
Joe Talerico 2017-05-24 10:48:27 -04:00
parent fde7e76321
commit 877b5cd480

View File

@ -75,6 +75,7 @@ class Elastic(object):
retry = 2
result['browbeat_uuid'] = str(browbeat_uuid)
result['cloud_name'] = self.config['browbeat']['cloud_name']
result['browbeat_config'] = self.config
for i in range(retry):
try:
self.es.index(index=self.index,