I’ve created a Stat panel which displays a list of files coming from Zabbix.
My panel is configure like so:
{
"type": "stat",
"title": "File",
"transformations": [],
"datasource": {
"uid": "EHktl5p4z",
"type": "alexanderzobnin-zabbix-datasource"
},
"pluginVersion": "9.3.2",
"description": "",
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
},
"color": {
"fixedColor": "dark-blue",
"mode": "fixed"
},
"noValue": "FILE NOT AVAILABLE",
"unit": "string"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": true,
"calcs": [
"lastNotNull"
],
"fields": "/^Last value$/"
},
"orientation": "horizontal",
"textMode": "value",
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center"
}
Every file has a timestamp in the name itself.
I wanted to remove that timestamp from the file name, but could not find a filter to do so.
Any idea?