Giter Site home page Giter Site logo

log-collector's People

Contributors

rfizzle avatar

Stargazers

 avatar

log-collector's Issues

V1: Proposal

Redesign with inputs -> processing pipeline -> outputs. Similar to the design of LogStash.

  • Manager: the manager will handle all the instances of collectors.
  • Instance: the object that will handle the state of a collector and the input, processors, and outputs.
  • Input: generic interface for inputs.
  • Processors: generic interface for processors.
  • Pipeline: an ordered set of processors.
  • Outputs: generic interface for outputs. Will be async and include error reporting.

input -> processor pipeline -> output will communicate via channels

Generic interfaces will take a json.RawMessage config and serialize as needed.

Configs will be located in individual files or configured via a custom JSON API pull with a refresh timer.

Each unique individual file will have its own instance state, to support multiple configs for the same input, and maintain separate states.

Should have the ability to kill and spawn instances without restarting the entire service (for JSON API dynamic config).

Draft Collector Instance Config Spec:

{
  "input": {
    "type": "gsuite_audit",
    "schedule": 3600,
    "config": {
      "credentials": "/path/to/key/file"
    }
  },
  "processors": [{
    "type": "replace"
    "config": {
      "search_value": "",
      "replace_value": ""
    }
  }],
  "outputs": [
    {"type": "stdout"}
  ]
}

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.