summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression/trex_elk.py
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2017-01-16 17:17:42 +0200
committerHanoh Haim <hhaim@cisco.com>2017-01-16 17:17:55 +0200
commitf22fba6e536cf2bc79ba56aa173462e27fc95067 (patch)
treebc269fcd912c81386aa610fe1c90f78911a0e415 /scripts/automation/regression/trex_elk.py
parentcb8b3426b97f9e0e527541b2ac3f28f89aaf7ab8 (diff)
elk - add more fields
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'scripts/automation/regression/trex_elk.py')
-rw-r--r--scripts/automation/regression/trex_elk.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/automation/regression/trex_elk.py b/scripts/automation/regression/trex_elk.py
index ddca474e..a5ef7a88 100644
--- a/scripts/automation/regression/trex_elk.py
+++ b/scripts/automation/regression/trex_elk.py
@@ -291,11 +291,13 @@ class TRexEs(object):
"test" : {
"properties": {
- "name" : { "type": "text" }, # name of the test
- "type" : { "type": "keyword" }, # stateless,stateful, other
- "duration_sec" : { "type": "double" }, # sec
- "result" : { "type": "keyword" }, # PASS,FAIL,SKIP
- "stdout" : { "type": "text" }, # output in case of faliue
+ "name" : { "type" : "text" }, # name of the test
+ "name_key" : { "type" : "keyword" }, # name of the test
+ "name_full" : { "type" : "keyword" }, # full name of the test
+ "type" : { "type" : "keyword" }, # stateless,stateful, other
+ "duration_sec" : { "type": "double" }, # sec
+ "result" : { "type" : "keyword" }, # PASS,FAIL,SKIP
+ "stdout" : { "type" : "text" }, # output in case of faliue
}
}
}