Jquery sparkline to read them log files

Begonnen von kroonen, 11 August 2014, 21:52:41

Vorheriges Thema - Nächstes Thema

kroonen

Hi,

Has anybody tries to read out the logfiles with query sparkline?

It's nice to get something like that on we web page, and it should work realtime.

So any got an idea how to parse this with query sparkine

tail -f maya-2014.log
2014-08-11_21:13:50 mayatemp humidity: 55.6
2014-08-11_21:19:39 mayatemp T: 22.8  H: 55.6
2014-08-11_21:19:39 mayatemp temperature: 22.8
2014-08-11_21:19:39 mayatemp humidity: 55.6
2014-08-11_21:22:33 mayatemp T: 22.8  H: 55.6
2014-08-11_21:22:33 mayatemp temperature: 22.8
2014-08-11_21:22:33 mayatemp humidity: 55.6
2014-08-11_21:45:50 mayatemp T: 22.8  H: 55.6
2014-08-11_21:45:50 mayatemp temperature: 22.8
2014-08-11_21:45:50 mayatemp humidity: 55.6


Or is there a nicer way to get t working

oliv06

Zitat von: kroonen am 11 August 2014, 21:52:41
Has anybody tries to read out the logfiles with jquery sparkline?
It's nice to get something like that on we web page, and it should work realtime.
I am interested in this feature too.