store disk name unanalyzed too

This commit is contained in:
Dave Pedu 2015-12-09 21:51:18 -08:00
parent 4b5dae0905
commit 5f39d2c35b
1 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@ def diskio(disks=[]):
continue
stats = {
"disk": disk,
"disk.raw": disk,
"reads_ps": round(stats.read_count/uptime, 2),
"writes_ps":round(stats.write_count/uptime, 2),
"read_ps": round(stats.read_bytes/uptime, 2),
@ -30,6 +31,10 @@ mapping = {
"disk": {
"type": "string"
},
"disk.raw": {
"type": "string",
"index" : "not_analyzed"
},
"reads_ps": {
"type": "double"
},