pchudzik / logweb Goto Github PK
View Code? Open in Web Editor NEWTail of log files in your browser
License: MIT License
Tail of log files in your browser
License: MIT License
Something like in logstash
https://github.com/Beh01der/node-grok
https://www.npmjs.com/package/istanbul
consider integration with (one of)
https://codeclimate.com/oss
https://coveralls.io
When there is duplicated log message (same date, same text etc). It should be skipped
detect log message.
When single provider event contains multiple log entries then split them into multiple events.
It might be tricky because sometimes logs are not just single line text.
when there is xml/html in input it's not handled properly in gui
Make it consistent with frontend.
I was unable to find jsx + jshint. So I used jshint
Now I can not disable jshint because it ill ignore backend so the easiest solution will be to change backend jshint to eslint.
Not sure if #4 is required.
Maybe it should all reside in memory.
But then if everything is in the memory it will be hard to trace bugs and issues because after restart all is lost.
Maybe logging should be done to file, with default input which will handle and expose all system log messages.
log system events like provider failure etc
install runnable application in node_modules/.bin
then you can publish to npm and install it using npm install logweb
add support for forever - https://www.npmjs.com/package/forever so process will fun forever
as in title
bind message container to top of the page and animate messages
This will require to fix webpack to include css.
try to use scss with webpack
create frontend
expose api
save data to file
restart input - #29
When new log entry is added and user is not focused in application change favicon so user will now that new data is present.
Consider what should be included in the dashboard.
Maybe events per second/second (refresh cycle)
Last event date etc?
Total number of events (need to be implemented because otherwise it will be stuck on buffer size)
as in title. When provider command fails then restart it
as in title.
Angular is simplest choice. But it might suck with big log files so maybe react will be better?
opacity to .8 for starters.
When receiving data loading indicator blinks.
I think loading indicator should be set as footer. and log messages should have bottom-padding to make it work properly.
Expose api and add frontend button which will restart input provider.
When restart is done then it should be easier to edit configuration in gui.
setup travisci as testing environment
nothing fancy. Just make sure new events are appended to <pre> or <code>
Get rid of search, node filtering, timestamp show
Just append to html element and that's all
It's temporary solution till real frontend is implemented.
it looks like a lot of new stuff s supported maybe babel processing is not necessary.
http://node.green/
Change view to tabular data?
With sorting and in column filtering
add log search option.
Use regexp to make it better than ctrl + f browser option.
as in title.
pass configuration file as first command argument.
function startFollowing in file frontend/src/log/logActions.jsx has hardcoded port
as in title.
see https://github.com/websockets/ws#error-handling-best-practices
Load configuration from file.
Edit configuration using web interface
Save modified configuration to file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.