diff --git a/pymonitor/monitors/diskio.py b/pymonitor/monitors/diskio.py index 3669995..c36dc70 100644 --- a/pymonitor/monitors/diskio.py +++ b/pymonitor/monitors/diskio.py @@ -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" },