logcool

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2017 License: Apache-2.0 Imports: 19 Imported by: 0

README

Logcool Version Status

Build Status GoDoc 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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Cmd for logcool run.Loading configuration files and information, as well as logcool operating logic.
Cmd for logcool run.Loading configuration files and information, as well as logcool operating logic.
filter
grok
Filter-plug: grok grok is regexp plugin and for filter data you like.
Filter-plug: grok grok is regexp plugin and for filter data you like.
metrics
Filter-plug: metrics metrics is just for metrics and count.
Filter-plug: metrics metrics is just for metrics and count.
split
Filter-plug: split split is just for split and count.
Filter-plug: split split is just for split and count.
zeus
Filter-plug: zues zeus is a name of a Greek myth,but it's function is add some fields.Just a easy plug for fun.
Filter-plug: zues zeus is a name of a Greek myth,but it's function is add some fields.Just a easy plug for fun.
input
collectd
Input-plug: collectdinput The plug's function is real-time monitoring of the system include cpu,memory,disk,host,net infomation.
Input-plug: collectdinput The plug's function is real-time monitoring of the system include cpu,memory,disk,host,net infomation.
file
Input-plug: fileinput The plug's function is real-time monitoring of the specified file, once the data is updated to record the data.
Input-plug: fileinput The plug's function is real-time monitoring of the specified file, once the data is updated to record the data.
stdin
Input-plug: stdininput The plug's function input the data from the standard-input.
Input-plug: stdininput The plug's function input the data from the standard-input.
output
email
Output-plug: outputemail The plug's function take the event-data into the standard-output.
Output-plug: outputemail The plug's function take the event-data into the standard-output.
lexec
Output-plug: outputexec The plug's function take the event-data into the standard-output.
Output-plug: outputexec The plug's function take the event-data into the standard-output.
redis
Output-plug: outputredis The plug's function take the event-data into redis.
Output-plug: outputredis The plug's function take the event-data into redis.
stdout
Output-plug: outputstdout The plug's function take the event-data into the standard-output.
Output-plug: outputstdout The plug's function take the event-data into the standard-output.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL