A tool for viewing huge text files stored on a server, such as log files (Internet-based)

Could you name a good text viewer with an interface implemented in JavaScript that can smoothly display huge text files (Gbs and Tbs in size), displaying text fragments provided by the backend?

Update: unlike the jQuery Log Viewer plugin, it should not only display the tail of the log, but also a full text viewer using the Up, Page Down page and somehow display the file with the selected percentage (scroller or GoTo button)

Upd2: it can be either open or proprietary

Upd3: unlike the obvious paginated text, it should scroll line by line

+6
source share
3 answers

Check out Node.JS is a javascript server framework with a huge number of available modules and modules. You can upload a text file through the file system module, and then return fragments from this http connection through the http module.

+2
source

If you eventually need to write something, you can find LogMonitor's open source link a useful starting point (disclaimer - I wrote This).

As-it will just display the tail of the file, but the internal Java code can return the fragments of the file, and the front-end displays them with some pretty formatting, so you can do something with it.

+1
source

If you already have backend analysis and preparation of log fragments, as you say, maybe something simple, how can the YUI editor be used on the interface?

YUI is very customizable, it looks just like any editor there +, you get YUI configurations, events, hooks and more.

Edit: I just saw that you do not have a third-party analyzer. In this case, you should combine YUI with the node Josh answer that was introduced earlier. In fact, YUI is node -ready, so you can probably use it on the backend too.

0
source

Source: https://habr.com/ru/post/924846/


All Articles