Code Monkey home page Code Monkey logo

dtail's People

Contributors

dependabot[bot] avatar pbuetow avatar snonux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dtail's Issues

Verify --regex option working correctly with whitespaces

There seems to be a bug when using a regex containing empty spaces.

E.g.

--regex "foo bar" does not match string foo bar, however --regex "foo.bar" does.

This might be a bug in DTail or an issue with the Golang regexp engine.

Less verbosity by default

It would be great if dtail would print out less stuff by default. For example only print out connection statistics if a key is pressed. Many outputs can be changed from info to debug/verbose log level too.

Add Linux ACL support to drun

DTail supports Linux ACLs. That however only works with reading files, not executing files. Example of a file which can not be executed via drun:

% sudo getfacl /usr/bin/sudo
# file: usr/bin/sudo
# owner: root
# group: root
# flags: s--
user::--x
group::--x
other::--x

Make it so that for the execution flag is checked to verify that the command can be executed or not.

By default don't require CGo

On Linux for file system ACL support Dtail requieres cgo for libacl inclusion. This may be an hindrance for compiling Dtail.

Proposal: By default compile without any cgo dependencies. ACL support has to be explicitly enabled via optional build flags.

Support one outfile per server

It would be great if the dtail client could also write one outfile per server. At the moment dtail client only supports writing all output of all servers to one single file ./log/YYYYMMDD.log.

This could be enabled by a new command line switch. The outfiles could be named like ./log/YYYYMMDD-SERVERFQDN.log.

Mapreduce tests

We have already good test coverage for mapreduce query language parsing. We need some tests actually executing queries.

Support for 'extended' regexes.

The Golang regex engine is a bit limited. It would be good to add the following new behaviour to DTail:

  1. The current way --regex "REGEX" stays as is.
  2. Add a new "perl" style syntax, whereas !/ or / in the beginning of the regex identifies an extended DTail regex. As a start it could allow the !/ modifier (inverse regex) and the /imodifier (case insensitive). An example would be --regex "/REGEX1/i and !/REGEX2/ or /REGEX3/. This would allow to specify much more powerful patterns.

Embed Goawk

GoAWK is an Awk implementation purely written in Go. Licenses permit inclusion into Dtail. This will allow building a distributed Awk command. How to name? dawk? dgo awk? dtawk?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.