Hello!
I attached a few S3 buckets via TntDrive (https://tntdrive.com/) as a network device. They have a "remote" type in the old metricbeat:
{
"_index": "metricbeat-6.3.0-2020.10",
"_type": "_doc",
"_id": "k-8OMXUBmeNgQXQabOTu",
"_version": 1,
"_score": null,
"_source": {
"beat": {
"version": "6.3.0"
},
"metricset": {
"module": "system",
"name": "filesystem",
"rtt": 311999
},
"system": {
"filesystem": {
"free_files": 0,
"available": 17592186044416,
"mount_point": "U:\\",
"used": {
"pct": 0,
"bytes": 0
},
"files": 0,
"device_name": "U:\\",
"total": 17592186044416,
"type": "remote",
"free": 17592186044416
}
}
}
}
In the newer versions of metricbeat, there are no "remote" devices. How can I fix it? I saw on this topic (Metricbeat - 'system' -> 'filesystem' metrics does not include network drives) that I probably have to change the filesystem.ignore_types
. It doesn't work, unfortunately.
Here is my config file:
metricbeat.modules:
- module: system
enabled: true
period: 60s
processes: ['.*']
filesystem.ignore_types: []
metricsets:
- process
- filesystem
processors:
- drop_event.when.regexp.mount_point: '^/(sys|cgroup|proc|dev|etc|host)($|/)'
With metricbeat 6.3.0 it works like a charm.