Logcool Save

A high performance and near real time log collector.

Project README

Logcool Version Status

Build Status GoDoc Join the chat at https://gitter.im/logcool/Lobby Code Health Code Issues Go Report Card License

Logcool is an open source project to collect, filter ,transfer and response any log or event-flow data as a lightweight system.中文

Logcool

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.

Getting started

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.

Using Example

A easy stdin2stdout example. Logcool

Plugins

Some plugins that had finished and will develope in the future.

input

  • 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.

filter

  • 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.

output

  • 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

Versions

versions

Other Contributor

Logcool learn from gogstash much. Thank you for your contribution, and I also learn a lot from your project. @tsaikd

Licensing

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.

Open Source Agenda is not affiliated with "Logcool" Project. README Source: wgliang/logcool
Stars
164
Open Issues
0
Last Commit
6 years ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating