diff --git a/grafana/arangodb2es.py b/grafana/arangodb2es.py index 48722c713edc751fc08e62868a9298176f1288a9..a2eaab8e870464d807d8ff25652e61421607072b 100644 --- a/grafana/arangodb2es.py +++ b/grafana/arangodb2es.py @@ -202,6 +202,8 @@ class AOps: elif node_type == 'block': dic['_source'][edge_origion + '_comm'] = node['disk_name'] + '_' + node['blk_name'] \ + node['_key'][len(node['machine_id']):] + elif node_type == 'pod': + dic['_source'][edge_origion + '_comm'] = node['pod'] else: dic['_source'][edge_origion + '_comm'] = node['_key'][len(node['machine_id']) + 1:]