store disk name unanalyzed too
This commit is contained in:
parent
4b5dae0905
commit
5f39d2c35b
@ -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"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user