b4fun / ku Goto Github PK
View Code? Open in Web Editor NEWToolkit for collecting and exploring logs using pipelined query lanaguage and sqlite.
Home Page: https://github.com/b4fun/ku
License: MIT License
Toolkit for collecting and exploring logs using pipelined query lanaguage and sqlite.
Home Page: https://github.com/b4fun/ku
License: MIT License
Ku itself sends logs to the ku cli
session table on each run. For repeated run on the same database, we should reuse this session
When the source log file contains large amount of logs, current insertion might be slow. We should consider batch insert to the table.
for ago:
querying select * from ku_cli_26GgJgKcmoovUpimJHKWyY_raw where ts > ago(3h) limit 100
react_devtools_backend.js:4026
RpcError: query failed: unrecognized token: "3h"
at grpc-web-transport.js:123:23
We should allow user to start up the tool without saving logs to disk.
Bad case:
haha
| extend p = 1 + 2, lines = 3 + 2
| extend q = p + lines
| take 100
q1 as (with q0 as (select 1 + 2 as p, 3 + 2 as lines, * from ku_cli_mcpxw3gjzWAA7F5KnFa3F_haha) select p + lines as q, * from q0) select * from q1 limit 100
This will yield:
q,p,lines,ts,lines:1
Where lines:1
is generated by sqlite, to distinct duplicated column names (ref). We should remove this column from the output. However, we need the "original column" information from the C API to filter this out.
We should publish as container version and allow using in a container
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.