Giter VIP home page Giter VIP logo

modbeat's Introduction

Modbeat is an example Community beat. It collects the file information for given globs on a predefined period and sends the follwoing info about each file to Elasticsearch or Logstash:

  • name: File name
  • path: Absolute file path including file name
  • mode:
  • modtime: Last modification time
  • size: Size of the file

An example JSON document stored in elasticsearch looks as following:

{
   "@timestamp":"2016-01-19T23:48:20.423Z",
   "beat":{
      "hostname":"examplehost",
      "name":"ruflin"
   },
   "count":1,
   "mode":420,
   "modtime":"2016-01-16T00:10:33+01:00",
   "name":"example.log",
   "path":"/var/log/example.log",
   "size":3752,
   "type":"modbeat"
}

Goal

Modbeat has the following goals:

  • Basic beat example
  • Foundation for maintaining and updating beat
  • Structure to create and maintain community around the beat
  • Ensure quality of the beat (testing, structure)
  • Foundation for good beat docs

TODO

  • Which LICENSE do we recommend? Apache / MIT?
  • Make system-tests should not run tests for vendor packages
  • Fix System tests
  • Complete CONTRIBUTING.md
  • Document config

Notes

  • Copy files (already with vendor inside?)
  • Basic doc file?
  • Glide init, glide update
  • Go vendor magic needed to not gofmt all libs: https://gist.github.com/bgentry/fd1ffef7dbde01857f66
  • Move modbeat.yml in top directory -> direct start of binary is possible
  • Tag libbeat to specific version tag?

modbeat's People

Contributors

ruflin avatar

Stargazers

Laurent Hoss avatar

Watchers

 avatar James Cloos avatar  avatar

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.