Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruflin/modbeat
Modbeat is an example Community beat.
https://github.com/ruflin/modbeat
Last synced: about 21 hours ago
JSON representation
Modbeat is an example Community beat.
- Host: GitHub
- URL: https://github.com/ruflin/modbeat
- Owner: ruflin
- License: mit
- Created: 2016-01-20T07:37:57.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-20T09:41:51.000Z (about 9 years ago)
- Last Synced: 2024-11-23T10:28:36.868Z (2 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
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 fileAn 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?