Logcool is an open source project to collect, filter ,transfer and response any log or event-flow data as a lightweight system.中文
Logcool's design learn from Heka and Logstash and it's implementation was inspired by gogstash. What's more, the logcool's goal is to be a completely independent project and not much rely on other non-standard libiaries.
Because it is difficult to fully meet the needs of different services, this repository provides basic plugins, such as encryption and decryption of data, compression and decompression of data, data format conversion, support files, command line, http, or the output of any system or redis, influxDB, MySQL database and so on. Importantly, you can easily develop a plugin according to your needs, and easily use it.
You can use logcool in any way.
Logcool can collect all-types los or event-flow data, and support some input/output types.Besides,you can new your's plugs if you need it. To get started, check out the installation instructions in the documentation.
A easy stdin2stdout example.
Some plugins that had finished and will develope in the future.
- file source data from files,such as log file.
- stdin get data from the console, debugging and example will need it.
- http get data from the network, support post, get, etc.
- collectd monitor and control system performance data, such as CPU, memory, network, hard disk, etc.
- zeus simple label filter.
- metrics dot counter, can be used for alarm and dashboard generation.
- grok regular filtering data, support multi pattern matching.
- split split command parameter based on the separator.
- stdout output to console.
- redis enter data into the redis database.
- influxdb data import influxdb, this is useful for timing data
- email send messages via email, such as alerts and service exception notifications.
- lexec send a message to execute a command or script.
- mysql Write data to MySQL
- pg Write data to pg
Logcool learn from gogstash much. Thank you for your contribution, and I also learn a lot from your project. @tsaikd
Logcool is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
Welcome to Contribute
1.Fork it 2.Create your feature branch 3.Commit your changes (git commit -am 'Add some feature'),and no test error. 4.Push to the branch 5.Create new Pull Request
Documentation or correcting comments are also welcome.