logrange / logrange Goto Github PK
View Code? Open in Web Editor NEWHigh performance data aggregating storage
License: Apache License 2.0
High performance data aggregating storage
License: Apache License 2.0
We need a CRD specific executable, which will provide LA interface via k8s CRD to an end user and which will be a LA client to provide CRD data to LA. It listens for CRD events to send them to LA
support rsyslog
Otherwise all journal goes into one folder :(
Implement basic client. Put it in cmd/lr. Using LA RPC API client for connecting to the LA.
If a log file is written simultaneously from different sources, it looks like it can cause problems at least with fixed formats like json. It seems some lines could be mixed and we may end up with the wrong offset or something like that, so the next time we'll start reading from position where there is no valid json (e.g. in the middle of json line). And we never we'll move one for that file since we always start from that 'broken' position...
to create basic executable which will connect to LA using RPC API client.
in logrange/pkg/util 2 functions were defined:
// EscapeToFileName receives a name and turn it to a file-system file name.
// it is expected to escap (substitute) slashes '/' at least.
func EscapeToFileName(name string) string {
// TODO
return fname
}
// UnescapeFileName receives a file name and un-escape it. It supposes that the
// file name was escaped by EscapeToFileName() before
func UnescapeFileName(fname string) string {
//TODO
return fname
}
it needs to implement them.
We need to have the following scripts for 1 click installation:
TDB
subj.
Most often then not security audits always require strict approved set of ciphers/protocols. The easiest way to pass all audits wrt to protocol is to always use mTLS and modern compat ciphers:
https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility
Read configuration from file system. Support configuration re-read (without restart) if config file is updated.
I tried the quick start guide on Ubuntu 18.10 and have some minor comments. My assumptions the quick start is a set of commands to run from a live console and try the product quickly.
curl -s http://get.logrange.io/install | bash -s logrange
doesn't work for me because Permission denied
there is my console output:sudo
:curl -s http://get.logrange.io/install | **sudo** bash -s logrange
mv ./${CMD} /usr/local/bin
is actually copied the file and provide recommendation to use sudo
if the file was not copied because of lack of permissions (or consider an another folder). So, the console output can be:sudo
: curl -s http://get.logrange.io/install | sudo bash -s lograngecurl -s http://get.logrange.io/install | bash
logrange start --journals-dir /tmp
does not work for the same permissions denied reason. 'sudo logrange start --journals-dir /tmp &' works but all the index files belongs to root
. Also without &
it eats my console.Done! Try running 'lr'...
to 'Done! Try running 'lr collect'' and also adding 'Then try running 'lr shell''lr shell
might print 'Type help for list of supported commands' after the logo, also the version of lr would be useful.All configs are read from filesystem (i.e. distributed as configmaps in helm charts).
All states are written to filesystem (i.e. requires mounting of host folder, to keep state between different container starts).
When mixer is released, it must reset state for eof, cause it is possible that new elements could be added there...
inmem uses map for its internals, but it would be nice to have tree-map, cause it can have performance issue when the storage become big enough (thoursands of records)
Implement basic logrange server. Put it in cmd/logrange
subj.
Study Gravitational logging solution API (https://github.com/gravitational/logging-app/tree/master/cmd/wstail) and implement 'drop-in' replacement so that Gravitational can start using Logrange as a drop-in solution without changes on their side.
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.