What advice would you give to pull data from text files into an HTML dashboard?

Posted September 30, 2021 106 views

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.

Submit an Answer
1 answer


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:

If you want to learn more about JavaScript, I would recommend this tutorial collection here:

Hope that this helps!

by Jack Misteli
Learn how to access uploaded files directly in the browser using JavaScript and the FileReader API.