so i was trying to filter out all references to "volumes.lun-mapping-list" in my json http_poller input. so this field repeats multiple times but the data is not valuable and its an array inside of the an array so ES doesnt like that at all with the index.
Here is my filter i was trying...
filter {
mutate {
remove_field => ["[volumes][lun-mapping-list]0"]
}
json {
source => "message"
}
}
which above does NOT work...
here an snip of the input:
{
"params": {
"id-property": "vol-id"
},
"volumes": [
{
"small-io-alerts": "disabled",
"last-refreshed-from-obj-name": null,
"obj-severity": "information",
"rd-bw": "13",
"iops": "50",
"replication-wr-bw-kbps": 0,
"qos-effective-bw": null,
"lb-size": 512,
"qos-exceeded-iops": "0",
"unaligned-rd-iops": "0",
"vaai-tp-alerts": "enabled",
"unaligned-io-alerts": "disabled",
"qos-exceeded-bw": "0",
"unique-physical-space": "0",
"tag-list": [],
"unaligned-io-ratio": "54",
"lun-mapping-list": [
[
[
"2c571a17371c48c5a96f1d3d8fe7c952",
"dell_r640_esxi_cluster",
2
],
[
"3635e0f1a92e4868a4df1cac9f6630ae",
"Default",
1
],
1
]
],
"wr-iops": "46",
"name": "xio-ds1",
"acc-num-of-unaligned-wr": "1852209230",
"related-consistency-groups": [],
"acc-num-of-wr": "3076892180",
"acc-size-of-rd": "28256380889",
"created-by-app": "xms",
"vol-id": [
"d49282122bcb45b3a976c409686f9094",
"xio-ds1",
1
],
"snapgrp-index": 1,
"snapgrp-copy-efficiency": "0",
"small-io-ratio-level": "ok",
"alignment-offset": 0,
"snapshot-type": "regular",
"index": 1,
"small-rd-bw": "8",
"naa-name": "514f0c501fc00001",
"acc-num-of-small-rd": "424465044",
"xms-id": [
"82682656e5d5408fbc675c046bf57a84",
"xms",
1
],
"small-wr-bw": "98",
"qos-implicit-obj-list": [],
"bw": "726",
"manager-guid": null,
"avg-latency": "529",
"snapgrp-name": "",
"certainty": "ok",
"vol-type": "regular",
"small-io-ratio": "60",
"unaligned-wr-iops": "32",
"performance-data-collection": "inherit_cluster_mode",
"qos-effective-max-bw": "0",
"application-type": "",
"wr-bw": "713",
"ancestor-vol-name": null,
"small-iops": "29",
"wr-latency": "579",
"unaligned-rd-bw": "4",
"num-of-dest-snaps": 0,
"acc-size-of-wr": "50490389189",
"href":
"https://10.237.33.100/api/json/v3/types/volumes/d49282122bcb45b3a976c409686f9094",
"num-of-lun-mappings": 1,
"acc-num-of-small-wr": "1822018810",
"guid": "d49282122bcb45b3a976c409686f9094",
"unaligned-io-ratio-level": "ok",
"acc-num-of-rd": "628415657",
"data-reduction-ratio": "0",
"qos-enabled-mode": "",
"management-locked": false,
"snapgrp-id": [
"815f66c07b484a428c456b9fe53a68a6",
"",
1
],
"ancestor-vol-id": [],
"last-refresh-from-obj-id": null,
"acc-num-of-unaligned-rd": "168918349",
"unaligned-iops": "32",
"calculate-savings-timestamp": "",
"sys-name": "norcalXtrem",
"sys-id": [
"bb4a8998e6fc4457ac7b23979cd15be4",
"norcalXtrem",
1
],
"rd-latency": "124",
"replication-rd-iops-16kb": 0,
"vol-access": "write_access",
"unaligned-wr-bw": "660",
"replication-wr-iops-16kb": 0,
"host-accessible-size": "0",
"dest-snap-list": [],
"snapgrp-unique-physical-space": "0",
"sys-index": 1,
"logical-space-in-use": "1628867560",
"snapset-list": [],
"created-by-external-client": "",
"created-from-volume": "",
"creation-time": "2017-06-19 20:26:29",
"snapgrp-drr": "0",
"last-refresh-time": "1497903989184",
"unaligned-bw": "664",
"replication-rd-bw-kbps": 0,
"small-rd-iops": "4",
"vol-size": "2147483648",
"small-wr-iops": "25",
"rd-iops": "4",
"qos-policy-id": [],
"qos-effective-burst-bw": "0",
"small-bw": "106"
},
Thanks in advance!