I have a scratch built HTML dashboard and want to pull data into it every 5 min or so from text files. These files get updated from scripts that pull data from servers (i.e. disk space, performance KPI’s). My understanding is I will have some sort of scripts/scripting language integrated into the dashboard to pull that data in, something like JAVA. There are flavors to that I realize. What would you recommend I use to do that, and please consider I will have to learn it. What would be a decent language (flavor of JAVA, or another language) to learn from scratch that is friendly to the novice, low barriers to learn but robust to do that job well?
Thanks in advance.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello,
Indeed this is correct. However, if you do not have any experience with Java, it might be easier for you to do it with JavaScript and Node.js for example.
Here is a tutorial that might help you in this case on how to Read and Process Files with the JavaScript FileReader API:
https://www.digitalocean.com/community/tutorials/js-file-reader
If you want to learn more about JavaScript, I would recommend this tutorial collection here:
https://www.digitalocean.com/community/tutorial_series/how-to-code-in-javascript
Hope that this helps! Regards, Bobby