So, I have managed to get data into elastic, in this case cpu, and uptime. What I want now is to display the latest cpu and uptime value for each host.
I have gone into dashboard visualise and created a table with host name and latest value option for the above indexes, but they appear as dashes. i have tried the same for disk space and disk used, but this is complicated by having multiple disks per host, so was going to start with the simpler option.
I have also read about transforms, and have tried to find an example in Transform examples | Elasticsearch Guide [7.15] | Elastic but couldn't seem to make that work.
This is another case of me not knowing what I am doing, but was really hoping displaying data would have been a little easier than getting it into elastic in the first place.
An extra added value is to change the uptime from ms to days, and hopefully display the last reboot date/time. I think I've worked out converting to days, but cannot check due to the above issues. Is it possible to that have an extra column that displays the date and time of the last restart/reboot?